gfgit / Chess

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Chess

A small test program to play Chess game.

Compile

Using CMake

  • 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, named Chess or Chess.exe

Using g++

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

About


Languages

Language:C++ 98.4%Language:CMake 1.6%