[][src]Trait ggpf::game::MoveCode

pub trait MoveCode<G: Base>: Send + Sync {
    fn code(game: &G, action: &G::Move) -> usize;
}

Move encoders

Required methods

fn code(game: &G, action: &G::Move) -> usize

Encode a move given the current state.

Loading content...

Implementors

impl<T: Base> MoveCode<T> for NoFeatures[src]

Loading content...