SebLague / Chess-Challenge

Create your own tiny chess bot!

Home Page:https://www.youtube.com/watch?v=Ne40a5LkK6A

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How do I get the winner when board.IsInCheckmate() is true?

michaelbzms opened this issue · comments

If board.IsWhiteToMove is also true, then the winner is White or Black?

If it's white to move and position is checkmate then black has won.