Upgrade to Pro — share decks privately, control downloads, hide ads and more …

オセロAI / OthelloAI

tasotaku
July 09, 2023
60

オセロAI / OthelloAI

tasotaku

July 09, 2023
Tweet

Transcript

  1. 文字列とビットボードの変換 文字列 "BOARD 0 0 0 0 0 0 0

    0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -1 1 0 0 0 0 0 0 1 -1 0 0 0..." ↓ 配列 {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,-1,1,0,0,0,0,0,0,1,-1,0,0,0,0,0,0,0,0,0,0,0...} ↓ ビットボード 黒:0000000000000000000000000000100000010000000000000000000000000000 白:0000000000000000000000000001000000001000000000000000000000000000 2023/04/15 © 2023 RICORA Programming Team 6
  2. 参考にしたサイト等 オセロAIの教科書|にゃにゃん(山名琢翔)|note https://note.com/nyanyan_cubetech/m/m54104c8d2f12 ビットボードによる αβ 法 - interprism's blog https://interprism.hatenablog.com/entry/bitboard

    リバーシの評価関数について https://www.info.kindai.ac.jp/~takasi-i/thesis/2012_09-1-037-0133_S_Shiota_thesis.pdf 私のgithub https://github.com/tasotaku/OthelloAI 2023/04/15 © 2023 RICORA Programming Team 14