A small test program to play Chess game.
- Install CMake (link)
- Go to project directory
- Create a build directory
mkdir build
cd build
- Configure cmake and build, for example:
cmake ..
cmake --build . -t Chess
- The executable will be in
build/
subdirectory, namedChess
orChess.exe
g++ -o Chess main.cpp Position.cpp Piece.cpp ChessBoard.cpp ChessBoard2.cpp King.cpp Queen.cpp Rook.cpp Bishop.cpp Knight.cpp Pawn.cpp