Skip to main content

Crate turnbase_bots

Crate turnbase_bots 

Source
Expand description

Bots for the Turnbase engine: Random, minimax/alpha-beta, and MCTS.

Every bot drives a game through the turnbase::Game trait, so the same bot works for any game implemented against the engine.

Structs§

Ismcts
Single-observer information-set MCTS for hidden-information games.
Mcts
UCT Monte Carlo tree search for sequential games, with chance nodes.
Minimax
Depth-limited alpha-beta minimax.
Random
Picks uniformly at random among the legal actions.

Traits§

Bot
A policy that picks one action for a player at a decision point.
RankedBot
A bot that scores and ranks every available action, best first.