[][src]Trait oasis_game_core::Bot

pub trait Bot<S: Default + Clone> {
    fn make_move(&self, player_id: u16, state: &UserState<S>) -> Option<Action>;
}

Required methods

fn make_move(&self, player_id: u16, state: &UserState<S>) -> Option<Action>

Loading content...

Implementors

Loading content...