About This Project
Introduction
This is a simple web-based xiangqi game that I created with JavaScript,
HTML and CSS. Xiangqi is a traditional Chinese board game that is similar
to chess, but with some unique rules and pieces. You can play this game against
a friend on the same device, the function of against a basic AI opponent is developing.
Features
- A 9x10 board with 32 pieces representing two armies: red and black.
- Click interface for moving the pieces.
- Basic rules enforcement and checkmate detection.
- A reset button to start a new game.
- The game will stop if one of the general is checkmated.
License
This project is licensed under the Apache-2.0 license - see the LICENSE file for details.
Feedback
If you have any feedback or suggestions for this project, feel free to open an issue on GitHub. I hope you enjoy playing this game!