pub trait RankedBot<G: Game> {
// Required method
fn rank(
&mut self,
game: &G,
state: &G::State,
player: PlayerId,
) -> Vec<(G::Action, f64)>;
}Expand description
A bot that scores and ranks every available action, best first.
For hints, teaching, and debugging search. An opt-in extension to Bot:
bots with no meaningful ranking (e.g. a uniform-random bot) simply do not
implement it.