/Play-Tic-Tac-Toe-with-AI

This is a Tic Tac Toe app where the player will be challenging an AI agent in order to win

Primary LanguageJavaScript

Play-Tic-Tac-Toe-with-AI

This is a Tic Tac Toe app where the player will be challenging an AI agent in order to win

Algorithm:

This web app uses the Minimax algorithm in order to take the best decision on the game board. Usefull ressources that clarify this algorithm are attached on the Credits section

Usage & Contributon:

  • run: git clone https://github.com/Mohcen2311/Play-Tic-Tac-Toe-with-AI.git && cd Play-Tic-Tac-Toe-with-AI
  • use LiveServer ( or other available tools ) to run the application .
  • Challenge the AI Agent !

Credits :

Front-end Design:

  • https://www.codeleaks.io/tic-tac-toe-game-using-html-css-and-javascript/

Minimax algorithm:

  • https://www.youtube.com/watch?v=l-hh51ncgDI
  • https://www.youtube.com/watch?v=trKjYdBASyQ