Chess game made with Pygame Python
The only library used to create this game is Pygame
. It is a completly playable chess game, with the basic rules such as:
- Castle: short and long
- Promotion
- Two moves for the pawns if it is their first move
- Checkmate
- Check if the king is safe
- Do not move any piece if the king is under attack or will be under attack after some move
chess_demo.mov
When one of the players gives a check, none of the pieces can move unless its movement will protect the king.
check_situation.mov
When one of the players's pawn reaches the last row, a promotion menu will appear on the screen:
In order for that pawn to "transform" to the desired piece, we only need to select the piece we want.
promotion.mov
When one of the players manages to checkmate the oponent, a message will appear on the screen. To play again just click the Space
key.