Skip to content

Commit e94cf3a

Browse files
committed
Updated KhanChess
1 parent 76ec0ce commit e94cf3a

20 files changed

+12831
-371
lines changed
File renamed without changes.
File renamed without changes.
File renamed without changes.

Diff for: projects/khanchess/Assets/Sounds/Draw.mp3

-36.5 KB
Binary file not shown.

Diff for: projects/khanchess/Assets/Sounds/Victory.mp3

-36.8 KB
Binary file not shown.

Diff for: projects/khanchess/LICENSE

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
2+
MIT License
3+
4+
Copyright (c) 2023 Aykhan Ahmadzada
5+
6+
Permission is hereby granted, free of charge, to any person obtaining a copy
7+
of this software and associated documentation files (the "Software"), to deal
8+
in the Software without restriction, including without limitation the rights
9+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10+
copies of the Software, and to permit persons to whom the Software is
11+
furnished to do so, subject to the following conditions:
12+
13+
The above copyright notice and this permission notice shall be included in all
14+
copies or substantial portions of the Software.
15+
16+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22+
SOFTWARE.

Diff for: projects/khanchess/README.md

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# Chess Game
2+
3+
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.
4+
5+
## Features
6+
- **Player vs AI**: AI uses the Stockfish API to determine the best move.
7+
- **Player vs Player**: Local multiplayer mode.
8+
- **Move Validation**: Ensures legal chess moves.
9+
- **Responsive Design**: Suitable for mobile and desktop.
10+
11+
## Getting Started
12+
1. **Clone the repository**:
13+
```bash
14+
git clone https://github.com/aykhan019/KhanChess.git
15+
```
16+
2. Open the `index.html` file in your browser.
17+
18+
## Video Demo
19+
[![Chess Game Demo](https://media.aykhan.net/thumbnails/projects/chess.png)](https://youtu.be/piR5hC6FGlA)
20+
21+
Click the image above to view the full project demonstration.
22+
23+
## Technologies Used
24+
- **JavaScript**: Game logic and API calls to Stockfish.
25+
- **HTML & CSS**: Interface and styling.
26+
- **Stockfish API**: Used for AI decision-making.
27+
- **FontAwesome**: Chess piece icons.
28+
29+
## Future Improvements
30+
- Adding game timers and move history.
31+
- Online multiplayer functionality.
32+
33+
---
34+
35+
Contributions are welcome! Feel free to open issues or submit pull requests to enhance the project.

0 commit comments

Comments
 (0)