Chess.py is a chess game written in Python. This project allows you to play chess in the command line, with features for move validation and rule management.
- Clone the repository:
git clone https://github.com/Ewazer/chess.git
- Accédez au répertoire du projet :
cd chess.py
To start the game, run the chess.py file:
python
chess.py
- Board Display : The board is displayed with pieces represented by Unicode symbols.
- Move Validation : Moves are validated according to chess rules.
- Pawn Promotion : Pawns can be promoted when they reach the last rank.
- Castling : Castling is supported for kings and rooks.
- Check and Checkmate : The game detects check and checkmate situations.
After starting the game, enter moves in the format e2 e4 to move a piece:
> e2 e4
Contributions are welcome! Please submit a pull request or open an issue to discuss the changes you'd like to make.
This project is licensed under the MIT License. See the LICENSE file for more details.