Unbeatable Tic Tac Toe Using Minimax Algorithm
This project is done for Microsoft The Mars Colonization Project. The goal is to use Minimax algorithm to build an unbeatable Tic Tac Toe game powered by AI.
Additional Points
The project implements a Tic-Tac-Toe playing agent. The agent uses -
You can -
- Play against the Agent and adjust difficulty, algorithm used and starting player.
- Play against a friend
- Get hints on which move to make next.
OOP style used for the project
Important Files
- Agent.js : Agent Class
- Environment.js : Environment Class
- QLearner.js : Node.js program to fill up the Q-Table
- index.js : Acts as a bridge between all classes and HTML DOM