2025-12-16 00:37:09 +01:00
2025-09-21 11:37:03 +02:00
2025-08-21 21:01:00 +02:00
2025-12-16 00:37:09 +01:00
2022-04-15 13:39:10 +02:00
2025-12-16 00:34:20 +01:00

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
My source code for the programming game Screeps.
Readme 1,012 KiB
Languages
C++ 90%
CMake 6.8%
JavaScript 3.2%