Skip to content

PyChess is a chess game developed with Pygame, designed to offer an interactive and fluid experience. With stylized graphics and an intuitive interface, it allows for matches between players or against an artificial intelligence. Its focus is on accessibility and entertainment, ideal for those who enjoy chess in digital format. โ™Ÿ๏ธ๐ŸŽฎ

License

Notifications You must be signed in to change notification settings

K1lluaZk/PyChess

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

23 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

PyChess

PyChess is a chess game developed with Pygame, designed to offer an interactive and fluid experience. With stylized graphics and an intuitive interface, it allows for matches between players or against an artificial intelligence. Its focus is on accessibility and entertainment, ideal for those who enjoy chess in digital format. โ™Ÿ๏ธ๐ŸŽฎ

๐ŸŽฎ Features

Traditional chess game with white pieces.

Checkmate detection when the black king has no legal moves to escape.

Automatic promotion of pawns to queen upon reaching the back rank.

Simple and functional graphical interface with Pygame.

๐Ÿ“ฆ Requirements

Python 3.7 or higher.

Pygame library installed.

๐Ÿš€ Installation

Clone this repository:

bash Copy Edit git clone https://github.com/K1lluaZk/pychess.git cd pychess Install the necessary dependencies: Reddit

bash Copy Edit pip install pygame ๐Ÿ•น๏ธ How to play Run the main game file:

bash Copy Edit python main.py Click on one of your white pieces to select it.

Click on a valid square to move the selected piece.

The game ends when the black king is captured or has no legal moves to escape check.

๐Ÿ“ Implemented rules

Only the white pieces can play.

The game detects checkmate when the black king has no legal moves to escape.

Pawns are automatically promoted to queens upon reaching the back rank.

๐Ÿ› ๏ธ Upcoming improvements

Implementation of an artificial intelligence opponent.

Support for two-player games.

Tie detection due to stalemate or replay moves.

Improvements to the graphical interface and animations.

๐Ÿ“ธ Screenshots

Imagen de WhatsApp 2025-05-11 a las 16 17 44_7b4bb41a Imagen de WhatsApp 2025-05-11 a las 16 18 41_08f63133 Imagen de WhatsApp 2025-05-11 a las 16 19 06_db0378d0

๐Ÿ“„ License

This project is licensed under the MIT License.

About

PyChess is a chess game developed with Pygame, designed to offer an interactive and fluid experience. With stylized graphics and an intuitive interface, it allows for matches between players or against an artificial intelligence. Its focus is on accessibility and entertainment, ideal for those who enjoy chess in digital format. โ™Ÿ๏ธ๐ŸŽฎ

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages