An open API service indexing awesome lists of open source software.

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

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
[![Chess Game Demo](https://media.aykhan.net/thumbnails/projects/chess.png)](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.