Cube Worlds Game Project source code.
See ARCHITECTURE.md for a short system overview.
Follow these steps to set up and run bot locally:
-
Environment Variables Setup
Create an environment variables file by copying the provided example file:
cp .env.example .env
Open the newly created
.envfile and set the environment variables. -
Launching the Bot
Install the required dependencies:
npm install && npm --prefix src/frontend installStart the bot and frontend in watch mode (auto-reload when code changes):
npm run dev
npm run devβ Start the bot and frontend in development mode.npm run lintβ Lint source code.npm run formatβ Format source code.npm run typecheckβ Run type checking.npm run update:allβ Update all dependencies.