Skip to content

jimysancho/Chess

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chess

Chess game made with Pygame Python

Introduction

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

1. Demo

chess_demo.mov

2. Check situation

When one of the players gives a check, none of the pieces can move unless its movement will protect the king.

check_situation.mov

3. Promotion menu

When one of the players's pawn reaches the last row, a promotion menu will appear on the screen:

promotion_menu

In order for that pawn to "transform" to the desired piece, we only need to select the piece we want.

promotion.mov

4. Checkmate

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.

checkmate.mov

About

Chess game made with Pygame Python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages