Skip to content

hkuegel/tensorflow-tic-tac-toe

Repository files navigation

tensorflow-tic-tac-toe

Example implementation of tic tac toe with tensorflow

Requires tensorflow, numpy, matplotlib

  1. run train.py to train the model. the pretrained model contains a model from 1000 training games
  2. start main to play a game against tensorflow (default is a gui app with matplotlib, but console is also possible). Switch the starting player in gui.py. Against random play the model wins ~ 97 of 100 when starting and 76 when the opponent starts (and loses 8).

The project contains the visual studio files.

About

Example implementation of tic tac toe with tensorflow

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages