created by XS
A simple command line chess game using Python
- Clone this repository
- In the command line, go to the src directory
- run
python chess.py
orpython3 chess.py
The rules are standard chess rules.
Each turn, you will be prompted with from:
and to:
which you will enter a board position of a piece (ie. '2d') to where you want to move it (ie. '3d').
Chess board only prints properly on Unix-type terminals due to system-specific colored printing. For Windows, check out Ubuntu on WSL.
Not currently supported:
- checking that king does not threaten king
- checking for checks
- checking for checkmates