Skip to content

A simple tic tac toe (Unbeatable AI) game in vue js framework using minimax algorithm

Notifications You must be signed in to change notification settings

nfraz007/tic_tac_toe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tic_tac_toe

This is a small fun game which I used to play in my childhood. You can play this game with AI which is unbeatable. You can't beat this AI. I have used minimax algorithm for this game.

Live Demo

Demo

Technology

  • Vue JS
  • Minimax Algorithm

Project setup

Install All Dependencies

npm install

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

Snapshot

  • Game

Snapshot

Minimax Algorithm

Minimax is a kind of backtracking algorithm that is used in decision making and game theory to find the optimal move for a player, assuming that your opponent also plays optimally. It is widely used in two player turn-based games such as Tic-Tac-Toe, Backgammon, Mancala, Chess, etc.

In Minimax the two players are called maximizer and minimizer. The maximizer tries to get the highest score possible while the minimizer tries to do the opposite and get the lowest score possible.

minimax_banner

About

A simple tic tac toe (Unbeatable AI) game in vue js framework using minimax algorithm

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published