https://github.com/aykhan019/khanchess
KhanChess is a browser-based chess game that uses the Stockfish API for AI moves, with a responsive design for desktop and mobile play. Built with HTML, CSS, and JavaScript.t
https://github.com/aykhan019/khanchess
ai api chess css html javascript stockfish webgame
Last synced: 3 months ago
JSON representation
KhanChess is a browser-based chess game that uses the Stockfish API for AI moves, with a responsive design for desktop and mobile play. Built with HTML, CSS, and JavaScript.t
- Host: GitHub
- URL: https://github.com/aykhan019/khanchess
- Owner: aykhan019
- License: mit
- Created: 2024-09-11T21:05:18.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2024-09-15T11:51:27.000Z (about 1 year ago)
- Last Synced: 2025-06-03T14:56:31.571Z (4 months ago)
- Topics: ai, api, chess, css, html, javascript, stockfish, webgame
- Language: JavaScript
- Homepage: https://www.youtube.com/watch?v=piR5hC6FGlA
- Size: 96.7 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Chess Game
This project is a browser-based **Chess Game** built using **JavaScript**, **HTML**, and **CSS**. It allows users to play chess against Stockfish or with another player locally. The game includes responsive design for various screen sizes and essential features like valid move detection.
## Features
- **Player vs AI**: AI uses the Stockfish API to determine the best move.
- **Player vs Player**: Local multiplayer mode.
- **Move Validation**: Ensures legal chess moves.
- **Responsive Design**: Suitable for mobile and desktop.## Getting Started
1. **Clone the repository**:
```bash
git clone https://github.com/aykhan019/KhanChess.git
```
2. Open the `index.html` file in your browser.## Video Demo
[](https://www.youtube.com/watch?v=piR5hC6FGlA)Click the image above to view the full project demonstration.
## Technologies Used
- **JavaScript**: Game logic and API calls to Stockfish.
- **HTML & CSS**: Interface and styling.
- **Stockfish API**: Used for AI decision-making.
- **FontAwesome**: Chess piece icons.## Future Improvements
- Adding game timers and move history.
- Online multiplayer functionality.## License
This project is licensed under the [MIT License](LICENSE)---
Contributions are welcome! Feel free to open issues or submit pull requests to enhance the project.