apt install libwebsockets-dev
Clone the repository, install node modules:
git clone https://github.com/PaulJohnson1/rrolf.git
cd rrolf
npm i
Build the client:
cd Client
mkdir build
cd build
cmake .. -DWASM_BUILD=1 -DDEBUG_BUILD=0
make -j`nproc`
cp ../../RivetStaticPage/index.html .
Build the server:
cd Server
mkdir build
cd build
cmake .. -DDEBUG_BUILD=0
make -j`nproc`
Get node packages for master server:
cd MasterServer
npm i
Master Server: node main.js
(in rrolf/MasterServer)
Game Server instance: ./rrolf-server
(in rrolf/Server/build)
Host the client: Any server will do, for example python3 -m http.server
(in rrolf/Client/build)