[−][src]Trait ggpf::game::Base
Common interface for single and multiplayer games
Associated Types
type Move: MoveTrait
The type for a Move.
Required methods
fn possible_moves(&self) -> Vec<Self::Move>
Given the game state and turn, list possible actions to the current player. If the game has ended, no action should be available.
Provided methods
fn is_finished(&self) -> bool
Returns if the game has ended or not.
Implementors
impl Base for Breakthrough
[src]
impl Base for Hashcode20
[src]
impl Base for MisereBreakthrough
[src]
impl Base for Gym
[src]
impl Base for WeakSchurNumber
[src]
impl<G> Base for Simulated<G> where
G: Features + 'static,
[src]
G: Features + 'static,