Douwco Hivemind
This is the sourcecode of my hivemind implementation for the MMO-programming game Screeps. This is mainly designed to learn programming with C++. This is possible throught the work done in the screepxx project, which I will and try to expand as well.
Running the project
All commands are run starting from the root directory.
Emsdk setup
Screeps only supports ES5 js syntax which can only be guaranteed by using emsdk 2.0.0.
cd emsdk && \
./emsdk install 2.0.0 && \
./emsdk activate 2.0.0 && \
source ./emsdk_env.sh && \
cd ..
Cmake setup
Create the makefiles using cmake. For more info look at the readme in screepsxx.
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=emsdk/upstream/emscripten/cmake/Modules/Platform/Emscripten.cmake ..
Build
To build the project run the following. In the dist folder the "screeps ready" project is copied.
cd build
cmake --build .
Description
Languages
C++
90%
CMake
6.8%
JavaScript
3.2%