JavaScript Version GitHub stars GitHub forks GitHub issues GitHub pull requests GitHub last commit GitHub repo size GitHub contributors GitHub commit activity GitHub code size in bytes
This project is an interactive chess game with an AI opponent, implemented in JavaScript. ♔♕♖♗♘♙
- Play chess against an AI opponent 🤖
- Interactive chessboard with piece movement ♟️
- Move validation ✅
- Auto-move mode 🔄
- Free mode for piece placement 🆓
- Move analysis 🔍
index.html: The main HTML file that structures the web page 🌐chess_js.js: Contains the game logic and user interface interactions 🧠
- Open
index.htmlin a web browser to start the game. 🌐 - Click on a piece to select it, then click on a valid square to move. 🖱️
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! 🙌