Skip to content

Ewazer/chess

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Chess.py

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.

Installation

  1. Clone the repository:
    git clone https://github.com/Ewazer/chess.git
  2. Accédez au répertoire du projet :
    cd chess.py

Utilisation

To start the game, run the chess.py file:

python 

chess.py

Features

  • 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.

Example Game

After starting the game, enter moves in the format e2 e4 to move a piece:

> e2 e4

Contributing

Contributions are welcome! Please submit a pull request or open an issue to discuss the changes you'd like to make.

Licence

This project is licensed under the MIT License. See the LICENSE file for more details.

About

Chess.py is a chess game written in Python.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages