[−][src]Trait oxymcts::GameTrait
Associated Types
Loading content...Required methods
fn legals_moves(&self) -> Vec<Self::Move>
Returns a list of legal_move, for the actual player.
fn player_turn(&self) -> Self::Player
Return the player actually playing.
fn hash(&self) -> u64
Return if any the hash of the game state.
fn is_final(&self) -> bool
If the game is finished this return true.
fn do_move(&mut self, m: &Self::Move)
Play the move and alter the state.
fn get_winner(&self) -> Self::Player
If the game is finished this function returns the winner of the game.