Enums§
Functions§
- check_
winner - Determine winner. The last player to move (the one with more pieces on the board) is credited with the win.
- current_
player - Whose turn is it? Player 0 moves first; after that they alternate.
Returns
Noneif the piece counts are inconsistent. - has_
winning_ line - Check whether any win line contains all 4 distinct shapes (regardless of color).
- is_
game_ over