Skip to content

A simple demonstration of AI, machine learning and computer science concepts

License

Notifications You must be signed in to change notification settings

H-A-I-L/tic-tac-toe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A simple demonstration to train a DL model to play tic-tac-toe

  • To run the server:
    • Execute the simple_server.py
python3 simple_server.py
  • Note: If pytorch is installed and a model has been trained, the script will automatically load the model and you can play the game against the model by navigating to smart_player.html

  • To train the model:

    • Install pytorch pytorch
    • Run the traning script:
python3 models/deep_learning_feed_forward.py --cuda -i 20000
  • Pass arguments as you see fit

Read here for more details: Teaching a computer to play Tic-Tac-Toe.

About

A simple demonstration of AI, machine learning and computer science concepts

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published