Trait MoveCode
ggpf::game
pub trait MoveCode<G: Base>: Send + Sync { fn code(game: &G, action: &G::Move) -> usize; }
Move encoders
fn code(game: &G, action: &G::Move) -> usize
Encode a move given the current state.
impl<T: Base> MoveCode<T> for NoFeatures
fn code(_: &T, action: &T::Move) -> usize