Trait Playout
oxymcts
pub trait Playout<State> { type Args; fn playout(state: State, args: Self::Args) -> State; }
type Args
fn playout(state: State, args: Self::Args) -> State
Plays the state to have a final state.
impl<T: GameTrait> Playout<T> for DefaultPlayout
type Args = ()
fn playout(state: T, _args: ()) -> T