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.
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
- 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