Skip to content
/ 3TAI Public

A simple tic tac toe game which consists of a bot created using the Minimax algorithm.

Notifications You must be signed in to change notification settings

go-row/3TAI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

3TAI - A simple Tic Tac Toe Game

A simple tic tac toe game which consists of a bot created using the Minimax algorithm. Play with it for a while and if possible try to beat it.

Problem statement

Two players (player X, and player O) play on 3x3 grid. Player X is a human player, and player O is an AI. A player can put his/her letter (either X or O) in an empty cell in the grid. If a player forms a row, a column or a diagonal with his/her letter, that player wins and the game ends. If the grid is full and there’s no row, column or diagonal of the same letter, the game ends at draw. A player should try to win in the lowest possible number of moves.

The game was built using the following :

  • HTML, JS, CSS
  • Minimax Algorithm
  • Sounds from soundbible (see credit section)

Credits

To-do

  • Refactor the code
  • Make AI more efficient
  • better user interface
  • Mobile support

Contact

If you have any question regarding the project, feel free to contact me.

About

A simple tic tac toe game which consists of a bot created using the Minimax algorithm.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published