Module rival::game [−][src]
Expand description
This module holds the Game
trait.
Traits
This trait can be implemented on any type that represents the state of a game. Doing so requires
implementations that inform the trait of which moves each player can Game::perform
and how
well each player is doing in any particular state. In return, this trait will provide a method
that calculates the Game::best_move
the current player can make.