Skip to content

Triangular tic-tac-toe game with artificial intelligence

Notifications You must be signed in to change notification settings

rafgonsi/tic-tac-toe-ai

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

tic-tac-toe-ai

Triangular tic-tac-toe game with artificial intelligence

The game is played on the board in the shape of a right triangle with equal legs (with a length specified by a user). The aim of the game is to draw a given number of symbols (user specified) in a line horizontally, vertically or diagonally.

Three kinds of players are implemented:

  • random (making random moves)
  • human (asking a human for a move to perform)
  • AI

AI is implemented as a negamax algorithm with alpha-beta pruning and iterative deepening.

About

Triangular tic-tac-toe game with artificial intelligence

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages