Skip to content

Gemmus/TicTacToe-AI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 

Repository files navigation

TicTacToe with AI

Tic Tac Toe game implemented using pygame. Available in 3 modes via keyboard:

  • Minimax AI: standard playmode, return to this mode by pressing 1
  • Random AI: by pressing 0
  • PvP: by pressing g on keyboard

image

Installation

Apply the following steps in listed order, if necessary:

  • Install a python supporting IDE.
  • Clone or download this repository.
  • Open the repository in IDE.
  • Required libraries: sys, random, copy, pygame, numpy. Make sure the last two packages are installed.
  • Run the main.py file in order to play.

Releases

No releases published

Packages

No packages published

Languages