Skip to main content

current_player

Function current_player 

Source
pub fn current_player(bb: &Bitboard) -> Option<u8>
Expand description

Whose turn is it? Player 0 moves first; after that they alternate. Returns None if the piece counts are inconsistent.