This guide provides a simple walkthrough for setting up and building the project. Follow the instructions below to get started.
Set up the Python virtual environment:
uv venv
source .venv/bin/activate
Install Conan, and configure it:
uv pip install conan
conan profile detect --force
Create a Conan profile for WebAssembly:
cat > ~/.conan2/profiles/webassembly <<EOF
include(default)
[settings]
arch=wasm
os=Emscripten
[tool_requires]
*: emsdk/3.1.73
EOF
Run the command:
make -f Makefile.webassembly release
Clone the game repository into a local folder named sandbox:
gh repo clone willtobyte/slime sandbox
Clone the playground web application repository:
gh repo clone willtobyte/run
Note: Ensure Docker is running. If Docker is not installed, consider installing OrbStack.
Start the application:
make run
Finally, open localhost:3000/playground in your browser.