Struct ggp_rs::player::MinimaxPlayer [−] [src]

pub struct MinimaxPlayer {
    // some fields omitted
}

A bounded minimax player. This player should only be used for 2 player, constant sum, turn based games.

Methods

impl MinimaxPlayer

fn new() -> MinimaxPlayer

Returns a minimax player with the default bounds of 0 and 100

fn with_bounds(min_bound: u8, max_bound: u8) -> MinimaxPlayer

Returns a minimax player with the given min and max bounds

Trait Implementations

impl Player for MinimaxPlayer

fn name(&self) -> String

fn select_move(&mut self, game: &Game) -> Move

fn meta_game(&mut self, _: &Game)

fn cutoff(&self) -> u32

fn out_of_time(&mut self, _: &Game) -> Move

fn stop(&mut self, _: &Game)