Skip to content

vairasza/py_chess

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python Chess Game

Chess implementation with pygame for local machine where you play versus a stupid bot.

Install

Install pygame with pip:

pip install pygame

Start

python main.py

The Game

The game is split into the chessboard and a terminal on the right side.

The chessboard is setup with standard chess setup and a board description in red font. Clicking a white meeple highlights it in green and shows you possible moves for this meeple in yellow. Clicking on one of the yellow tiles moves the highlighted meeple. A red marker indicates that the king is check. The terminal notes the moves performed by the players and has a button to start a new game. The left column is for the white players moves while the right side is for the black players moves. The notation follows the long algebraic scheme found on wikipedia.

When a player is losing the game, a game over screen is rendered over the chessboard. Start a new game by clicking on the new game button at terminal.

Screenshot 2021-02-25 at 14 40 34

Screenshot 2021-02-25 at 14 49 46

Screenshot 2021-02-25 at 14 53 02

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages