vkhamesi / tictactoe-ai

👾 Object oriented programming in Python of the TicTacToe game and development of an artificial neural network that learns to play on a game history.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TicTacToeAI (2019)

Object oriented programming in Python of the TicTacToe game and development of an artificial neural network that learns to play on a game history.

This personal project consisted in creating a very simple game of TicTacToe from scratch in Python, in object-oriented programming. The final application allows to play 1 vs 1, but also to train an artificial neural network via TensorFlow to play against an AI.

Actually, the player vs AI game mode has not been implemented as this project was not made for distribution but educational purpose. The AI only advises the player which move is the best according to the training games. Note that the TicTacToe being a very simple game, a Q-learning method is of course bringing in an elephang to kill a mouse.

About

👾 Object oriented programming in Python of the TicTacToe game and development of an artificial neural network that learns to play on a game history.


Languages

Language:Python 100.0%