mauvieira / Chessqdl

Simple chess engine with a terminal interface

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Status

ChessQDL

Screenshot ChessQDL

Final project of the Data Structures 1 subject. Presented on 12/2019.

ChessQDL is a chess engine that uses a simple heuristic function to evaluate the current state of a given board and the minimax algorithm to choose a move within the tree of possible moves.

The engine was designed to allow for games of Player vs Engine and Player vs Player.

Build instructions

Clone the repository:

$ git clone https://github.com/vcoutasso/Chessqdl
$ cd Chessqdl

Create the build directory:

$ mkdir build
$ cd build

Build Release version:

$ cmake ..
$ make

Run ChessQDL:

$ ./bin/ChessQDL

Build Debug version:

$ cmake -DCMAKE_BUILD_TYPE=Debug ..
$ make

Note: Building in Debug mode will download Google Test from Github.

Run tests (Debug version only):

$ ctest -V

As an alternative to Unix Makefiles, other generators such as Ninja can be used:

$ cmake -G "Ninja" ..
$ ninja

Generate Doxygen files from code documentation:

$ cd docs
$ doxygen

License

This software is free to use under the MIT License. See this reference for more information.

About

Simple chess engine with a terminal interface

License:MIT License


Languages

Language:C++ 97.4%Language:CMake 2.6%