pub trait Bot<G: Game> {
// Required method
fn choose(
&mut self,
game: &G,
state: &G::State,
player: PlayerId,
) -> Option<G::Action>;
}Expand description
A policy that picks one action for a player at a decision point.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".