Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 1.45 KB

README.md

File metadata and controls

27 lines (19 loc) · 1.45 KB

Deep Q Learning TicTacToe

Language Module Module Release

This program implements a PyGame TicTacToe that can be played by two humans, by a human vs. an algorithmic AI, and a human vs. a Neural Network trained by playing against the algorithmic AI.

The training algorithm uses Deep Mind's DQN recommendations:

  • A replay experience memory was implemented
  • Batches of random experiences from the replay memory are used for every training round
  • A secondary neural network was used to calculate the future Q values and then it was updated with the main network's weights every 10 games

OwnNNet_TicTacTow.py is the main program that uses the ML library I created.

TF_TicTacToe.py is the version that uses TensorFlow (I used to validate my code)

PlainGame_noNNet.py is a version with just the plain game.

For more Information: https://the-mvm.github.io/deep-q-learning-tic-tac-toe.html