pentai
pentai copied to clipboard
Fix to enable the ai player to use the opening book
It doesn't seem to be allowing a move to be made after the board is adjusted.
Particularly on windows, and machines without an SSD. ;)
Draws are very rare in Pente, and are not currently supported. A simple check would probably be enough: move number - 2 \* total pairs taken >= board size \*...
Reported by Richard B. I haven't seen it yet, but it was at the start of the game.
since desktops are almost always in landscape orientation and PentAI is currently in portrait
Imagine the board was a chessboard and people played in the squares. It seems to be an advantage to have pieces on the same coloured squares.
When I started coding PentAI, I used "BLACK" as a constant (1) for the first player. (like in the game of Go) (and WHITE for P2) I later changed to...