Skip to content

finicu212/openChess

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

openChess

An open-source implementation of the classic game of chess. Clean OOP together with modern C++ (smart pointers, vectors, string_view...) were core concepts ever since this project's inception.


Board picture

How to play

After compiling, pick a color, by inputting w or b, this will affect the perspective of the board.

The game will now enter a loop, until one of the game end conditions (stalemate, checkmate..).

To make a move, input a source square, followed by a space, and a destination square. (example: e2 e4 to move the piece at e2 to the e4 square).

Castling: To castle, move the king two squares towards the rook with which you want to castle with. Note: standard castling rules apply (see #32 for a succinct overview of the rules, or read the wiki: https://en.wikipedia.org/wiki/Castling)

Contributing

Please give the gitflow workflow a read. Feel free to pick any issue and start working on it, but make sure to leave a comment first so that multiple people don't work on the same thing at the same time.

Feel free to leave any ideas, bug reports as a new issue.

Colors

Thanks to AmiditeX for implementing ANSI character sequences. See #27

About

C++ console chess

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages