https://github.com/dantondanvin/chess_bot
An interactive chess game with an AI opponent, implemented in JavaScript
https://github.com/dantondanvin/chess_bot
bot chess chess-ai chess-bot chess-engine chess-game html-css-javascript javascript
Last synced: 4 months ago
JSON representation
An interactive chess game with an AI opponent, implemented in JavaScript
- Host: GitHub
- URL: https://github.com/dantondanvin/chess_bot
- Owner: DantonDanvin
- Created: 2023-11-08T14:20:20.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-05-18T09:17:36.000Z (about 1 year ago)
- Last Synced: 2025-06-17T08:43:00.517Z (about 1 year ago)
- Topics: bot, chess, chess-ai, chess-bot, chess-engine, chess-game, html-css-javascript, javascript
- Language: JavaScript
- Homepage: https://dantondanvin.github.io/Chess_Bot/
- Size: 62.5 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Chess Bot ♟️











This project is an interactive chess game with an AI opponent, implemented in JavaScript. ♔♕♖♗♘♙
## Features 🚀
- Play chess against an AI opponent 🤖
- Interactive chessboard with piece movement ♟️
- Move validation ✅
- Auto-move mode 🔄
- Free mode for piece placement 🆓
- Move analysis 🔍
## Files 📁
- `index.html`: The main HTML file that structures the web page 🌐
- `chess_js.js`: Contains the game logic and user interface interactions 🧠
## How to Use 🎮
1. Open `index.html` in a web browser to start the game. 🌐
2. Click on a piece to select it, then click on a valid square to move. 🖱️
## AI Implementation 🧠
The AI uses the minimax algorithm with alpha-beta pruning to determine the best move. The evaluation function considers piece values and positional advantages. 🤖♟️
Feel free to contribute to this project by submitting pull requests or reporting issues! 🙌