A Python-based implementation of Chinese Chess (Xiangqi) with a graphical interface using pygame. The game supports local multiplayer and highlights valid moves for each piece, including full rule enforcement and check/checkmate detection.
🎮 Features Local multiplayer (2-player)
Graphical board and piece rendering with pygame
Highlighting of valid piece movements
Turn-based gameplay logic
Rule enforcement for all Xiangqi pieces (General, Advisors, Elephants, Horses, Chariots, Cannons, Soldiers)
Check and checkmate detection
Undo/Restart functionality (if implemented)
Sound effects (optional if added)
🖼️ Screenshots
🛠️ Installation Clone the repository:
bash Copy Edit git clone https://github.com/arudzheri/Chinese-Chess.git cd Chinese-Chess Install dependencies:
bash Copy Edit pip install pygame Run the game:
bash Copy Edit python main.py
🧠 Game Rules Summary Chinese Chess (Xiangqi) is a strategic board game similar to international chess but with different rules and piece movements. Learn more on Wikipedia.