Playing TicTacToe by tabular Q-Learning.
Require: pip install pygame
Build enviroment: here. Test enviroment: here.
Random step test |
---|
See code here.
Play TicTacToe based on a well-trained Q_table_dict
.
See code here.
Performance | Mode |
---|---|
Agent vs Agent | |
Human vs Agent |