/TicTacToe_Q_table

Playing TicTacToe by tabular Q-Learning

Primary LanguagePython

TicTacToe_Q_table

Playing TicTacToe by tabular Q-Learning.

Require: pip install pygame

Build Gym-like enviroment and test

Build enviroment: here. Test enviroment: here.

Random step test

Tabular Q-Learning traning process

See code here.

Game UI

Play TicTacToe based on a well-trained Q_table_dict. See code here.

Performance Mode
Agent vs Agent
Human vs Agent