Skip to content

mijnap1/Chess_Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

Chess_Game

Screen Shot 2023-04-09 at 9 37 39 PM

[Python] Pygame Chess Game - Public Package

Intructions for how to use this chess game :

  1. Make sure Pieces folder is in the same directory as Chess_Final.py

  2. Make sure that pygame is installed on your computer...

For windows use CMD prompt command:

py -m pip install pygame

For MAC use terminal command:

pip3 install pygame

  1. To start game open Chess_Game_Package.py

  2. The game initializes with white to make the first move (per the rules of chess)

  3. To make a move click a piece (it will highlight square to show click) and then click the sqaure where you want to place it.

The turn will change and the other player will be able to make thier move.

*The game will only allow you to make legal chess moves.

*The game allows for castling, en passant captures, and pawn promotion (auto queen promotion is turned on, this cannot be changed).

*To undo a move press the backspace key on your keyboard.

*To reset the game press the r key on your keyboard.

*To exit the game press the x button in the top corner of the window.

  1. When a Checkmate or Stalemate is reached, the game will open a window with that information.

It will ask if you want to play another game. If you do press yes, if not press no.

Have fun playing my game !!!

About

[Python] Pygame Chess Game - Public Package

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages