pub trait Normal: Game {
// Provided method
fn state(&self) -> GameState<Self::Player> { ... }
}
Expand description
Marks a game as being ‘normal’ (a game has the ‘normal play’ convention).
Rather, this means that the game is won by whoever plays last. Under this convention, no ties are possible: there has to exist a strategy for players to be able to force a win.
Learn more: https://en.wikipedia.org/wiki/Normal_play_convention
Provided Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.