Crate minimax_alpha_beta
source · [−]Expand description
Solve any Two-player Minimax game using the Minimax algorithm with Alpha-Beta pruning. Also, where possible, a parallel processing implementation is provided.
Modules
Contains sruct and necessary implementations
for TicTacToe
: a popular two-player game
where one player places a symbol - ‘X’ and another
player places a symbol - ‘O’ on a square grid
with the objective of creating a streak of same
symbols of length the size of the grid in any direction.
Functions
Play a game of any size in a REPL against the engine. The default depth of 6 should make the engine reasonably fast.
Play a game of any size in a REPL against the engine. The higher the depth, the longer it takes and the more accurately the engine performs.