A browser-based Chess AI that uses the Minimax algorithm with Alpha-Beta Pruning to play competitively against a human player. The search depth can be adjusted to control the AI's playing strength and decision-making speed.
- ♟️ Play chess against an AI opponent
- 🌳 Minimax algorithm with Alpha-Beta Pruning
- 🎚️ Adjustable search depth (1–5)
- ⚡ Optimized move evaluation for faster gameplay
- 📊 Displays positions evaluated, search time, and positions per second
- 📜 Move history tracking
- 🖥️ Interactive chessboard interface
- JavaScript
- HTML5
- CSS3
- Chess.js
- Chessboard.js
-
Install dependencies:
npm install
-
Start the local server:
npm start
-
Open the application in your browser and play against the AI.