Skip to content

fahadakhan96/chess

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

chess

A two-player chess game using python and pyglet. No computer AI. All rules implemented except "en passant".

Features

  • All rules except "en passant" implemented (castling, promotion, etc.).
  • A piece can only be moved if it's a valid move.
  • Shows all possible locations a piece can move to.
  • Highlights king red when in check.

How to run?

  1. Install Python 3.5 or newer if not already installed.
  2. In cmd, type:
python3 -m pip install pyglet
  1. Run main.py.

How to play?

  1. Click on a piece to show all possible moves.
  2. Click on one of the boxes to which the piece can move.
  3. Now it's the other's turn.

About

A chess game using python and pyglet. No computer AI.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages