Skip to content

ArtemMartus/ProjectB

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ProjectB [MacOS/Ubuntu/Win]

About

This is multiplayer chess game with all rules implemented (including castling/ checkmating).

When you start an app you'll see following window:

In here we can see the chessboard with coordinates on edges and already placed figures on it.

Figures are rendered as latin letters where

P = Pawn,

R = Rook,

N = KNight,

B = Bishop,

Q = Queen,

K = King.

White side have uppercase symbols and black side has lowercase symbols

Type
  1. to move
  2. to save the game
  3. to load the game
  4. to surrender and quit

Press 0 and you're prompted to type in one of suggested coordinates of an ally figure and then type coordinate of where you want it to move.

After successful move you'll see a message and new checkboard with moved unit.


Build using CMake

  • MacOs - no dependencies
  • Ubuntu: - no dependencies
  • Win - no dependencies

cmake . && make

Tests can be run via CTest

Run all tests with command make test or ctest after building whole project

About

[C++/STL only] Console multiplayer chess game

Resources

Stars

Watchers

Forks

Packages

No packages published