Trait minimax::interface::Strategy [] [src]

pub trait Strategy<G: Game> {
    fn choose_move(&mut self, &G::S, Player) -> Option<G::M>;
}

Defines a method of choosing a move for either player in a any game.

Required Methods

fn choose_move(&mut self, &G::S, Player) -> Option<G::M>

Implementors