GrandMaster AI is a clean and interactive AI-powered Chess game built using HTML, CSS, and JavaScript.
Play against a smart AI opponent directly in your browser — no backend or setup required.
👉 https://latikaray.github.io/ChessGame-version-2/
- ♟️ Play Chess vs AI
- 🧠 AI powered by Minimax Algorithm with Alpha-Beta pruning
- 🎨 Clean and responsive UI using Tailwind CSS
- ⚡ Fast and lightweight (pure frontend project)
- 🔁 Restart game anytime
- HTML5
- CSS3
- JavaScript (Vanilla JS)
- chess.js (game logic library)
- Tailwind CSS
The AI uses:
- Minimax Algorithm
- Alpha-Beta Pruning
- Basic piece value evaluation
This allows the AI to:
- Predict future moves
- Choose optimal strategies
- Provide a challenging gameplay experience
- Limited AI depth (for performance)
- No multiplayer mode
- No move history / undo
- Difficulty levels 🎚️
- Undo / Redo moves ↩️
- Move history panel 📜
- Sound effects 🔊
- Stronger AI (Stockfish integration)
Feel free to fork this repository and improve the project.
This project is open-source and available under the MIT License.
If you like this project, consider giving it a ⭐ on GitHub!