Main Game Board
Main game board in playing
Village board in game
The project is about writing a C++ computer game that allows the user to play a reasonable version of the New Haven game. The New Haven is a “tactical” game, the gaming rules are given here
CImg library was used to create Graphical User Interface for the project.
- Visual Studio >= 2019
- CMake version 3.15
- Clang
- Clion (IDE) or simple Terminal
Note:
The project was built mostly on Visual Studio on Windows so it is compatible the most on Windows. The proram may cause unexpected behaviour on other IDEs and platforms because of different checker, linter or compiler. The proram uses CImg library for Graphical User Interface. Unfortunately, Apple has decided to stop supports for XQuartz. OSX users might have to install additional XQuartz library to compile the project.
- Clone/download the project
- Run
NewHaven.sln
. This will automatically load the project on Visual Studio. In addition, the files were grouped together in containers if started assolution
. - Click on Local Window Debugger to start the program
- Clone/download the project
- Open Clion
- Choose New CMake Project from Sources at welcome page
- Open the directory containning this project.
- Choose Import as a new CMake project.
- Tick off CMakeLists.txt on the list. Click OK.
- The project will be loaded to Clion
- Build -> Run
- Clone/download the Project
cd
into the directory containning the project.cmake .
cmake --build .
Contributors |
---|
Duc Nguyen |
Omar Al-Farajat |
Luiz Gonçalves |