Skip to content

razmikarm/chess

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 

Repository files navigation

chess

Chess game on python, that allows you to create multipe boards and simultaneously have different board with ongoing games.

Here is only implemented the CLI part, but in its core it has an ability to being easily represented via other interfaces, like API servers.

The core controller uses UUIDs to distinguish boards, but thinking about replacing UUIDs with random funny names.

P.S. still need to implement timer, Castling and en passant

HOW

  • To play

Answer: Run the below command:

python run.py

image

  • To make a move

Answer: Enter the square of the piece and the target sqaure, separated by space. Example`

D2 D4

image

  • Get all possible commands

Answer: type help and press Enter

help

image

  • Know if game is over

Answer: It automatically recognizes the mate and informs about it

Here we have a winning situation and when we make the move entered in this screenshot...

image

The game will end immediatelly

image

About

Chess game on python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages