[][src]Trait ggpf::game::SingleWinner

pub trait SingleWinner: Game {
    fn winner(&self) -> Option<Self::Player>;
}

Non-cooperative games.

Required methods

fn winner(&self) -> Option<Self::Player>

Returns the winner of the game, or None if no one has won yet.

Loading content...

Implementors

impl SingleWinner for Breakthrough[src]

impl<G: SingleWinner + Clone + Sync + Send> SingleWinner for WithHistory<G>[src]

Loading content...