tic-tac-toe

Uses Q-learning to learn to play tic tac toe, based on https://www.cs.swarthmore.edu/~meeden/cs63/f11/lab6.php

  • To train: python3 tictactoe.py -l -q <name-of-file-for-saving-training-data>.pickle <parameters>
  • To play in CLI: python3 tictactoe.py -c
  • To play in GUI: python3 tictactoe.py
  • To play against AI using a specific Q-table: python3 tictactoe.py -q <qtabe-file-name>.pickle