/tic-tac-toe-Q-learning

Developed with Pygame, it features a user interface for playing Tic-Tac-Toe against an AI trained using Q-Learning algorithms.

Primary LanguagePython

Tic-Tac-Toe-Q-Learning

Developed with Pygame, it features a user interface for playing Tic-Tac-Toe against an AI trained using Q-Learning algorithms.

Features

  • Play with AI: Play a game against the trained agent
  • Replay: Watch the agent's training progress through episodes

To play game

  1. Run learn.py to generate play.npy and replay.npy files
  2. Run main.py
  3. have fun!!

website screenshot website screenshot website screenshot website screenshot