Skip to content

Azen-Huang/Tic-Tac-Toe-AI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tic-Tac-Toe-AI

A Tic-Tac-Toe AI

Using minimax(negamax) algorithm and alpha-beta pruning to play Tic-Tac-Toe

3 modes:

  1. Human vs Human
  2. Human vs AI
  3. AI vs AI

You can run main.cpp to play the game.