ai-tictactoe
A tic-tac-toe rules and search library with perfect play.
Use it
Add the crate to your project:
[]
= "0.1"
Build the tablebase once, then use it for each position:
use ;
let position = default;
let tablebase = build;
let result = search;
assert!;
The crate also includes negamax, memoized search, symmetry reduction, and a small line-oriented engine.
Licensed under the MIT License.