Trait gameai::strategies::Strategy [] [src]

pub trait Strategy<G: Game> {
    type Params;
    fn decide(&mut self, _: &G) -> G::Move;
fn create(_: Self::Params) -> Self; }

Associated Types

Required Methods

Decide the next move to make.

Create the initial state for this strategy.

Implementors