Tic-Tac-Toe AI - Hidden Markov Model
"Tic-tac-toe (American English), noughts and crosses (British English), or Xs and Os is a paper-and-pencil game for two players, X and O, who take turns marking the spaces in a 3×3 grid. The player who succeeds in placing three of their marks in a horizontal, vertical, or diagonal row wins the game."
-- Wikipedia
See documentation.
A docker image is available at https://hub.docker.com/r/sbugallo/ttt. Simply
run docker run -ti sbugallo/ttt
and then
ttt-human-vs-cpu \
--cpu_weights_path pretrained_models/25000_15000_10000_weights.json \
--cpu_mode best