Skip to content

What color is the bot playing as? #187

Answered by tomc128
dudecon asked this question in Q&A
Discussion options

You must be logged in to vote

Every game is different, i.e. you'll be black one game and could be white the next. So far, checking board.IsWhiteToMove was the best way I could find to determine the colour; it'll obviously be the same value throughout the game.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by dudecon
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants