/Tic-Tac-Toe

Tic Tac Toe game using minimax algorithm!

Primary LanguageJavaScript

Tic-Tac-Toe

Tic Tac Toe game built using module pattern, factory function and minimax algorithm!.

Features:

• Player vs Computer mode with three difficulty levels:

Easy: Computer plays random legal moves,

Medium: Computer randomly selects whether to play a random move or the best possible move,

Hard: Computer plays as best as it can, if it can make several equivalent moves, he randomly chooses one of them for greater variety, if it can win immediately it does so

• Player vs Player mode
• Smooth animations
• Clean UI
• Responsive design

Live Demo 👈

Tic-Tac-Toe.png