Expand description

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.


use minimax_alpha_beta::tictactoe::TicTacToe;
let mut tic_tac_toe = TicTacToe::create_game(3, None, None, None);
assert_eq!(tic_tac_toe.size, 3);
assert_eq!(tic_tac_toe.default_char, '-');