The game expects to be run from a subdirectory (for ex. /bin/doppelkopf.exe
). In order to achieve this either:
src/core/
src/main
Tests are off by default. To enable them follow these steps:
git submodule init
and git submodule update
to get the gtest test framework in libs/googletest
-DADD_TESTS=ON
to cmake when loading the cmake project(for ex. in the gui or when running the cmake command)The source already includes an ExampleBot, giving you an example of how to code a simple bot.
map.insert(std::make_pair("BotName", &createInstance<BotClass>));