Skip to content

buegelbeatz/tictactoe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tic Tac Toe

Training

First run

python3 ./train.py

This generates a file './tictactoe_recommended_mapping_3.json' which is used by the TrainedPlayer as recommendation.

Playing

Just run

PLAYER_X=TrainedPlayer PLAYER_O=RandomPlayer START=X   python3 ./tictactoe.py

You could also use HumanPlayer as parameter for PLAYER_O if you want to play against the trained model.

About

Simple python Tic TacToe implementation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages