Skip to content

revan7/tictactoe-ai

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tic-Tac-Toe AI

Classic tic tac toe game that has a reinforcement learning model that learns how to play. You can train the model, against a player that plays randomly, a human player, or itself (robot wars).

Getting started

  1. Have Python 3.7.3.
  2. Make sure to install modules from requirements.txt
  3. Run with python main.py

For now, if you want to change the type of players involved, you have to explicitly change it in the code. You can find all the implementations of the player entity under engine/player. The .save files represent the model's learning progress. If you delete them you have to train the model again. The progress is saved again every 10000 iterations.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages