Multiplayer browser game: collect tokens across 3 cities, then run from Slopzilla when the kaiju wakes up. Works on desktop and mobile from the same URL.
Live: slopzilla.vercel.app
- Pick your name — you show up as red with a YOU tag (only on your screen).
- Get matched into a city room with up to 8 players (bots fill empty slots).
- Collect green token orbs for 45 seconds.
- Slopzilla rampage — sprint to green EXIT beacons or lose carried tokens.
- Survive 3 cities — most saved tokens wins the tour.
npm install
cp .env.example .env # add VITE_MAPBOX_TOKEN
npm run dev:party # PartyKit on :1999
npm run dev # Vite on :5173| Variable | Purpose |
|---|---|
VITE_MAPBOX_TOKEN |
Mapbox public token for the globe |
VITE_PARTYKIT_HOST |
PartyKit host, e.g. slopzilla.witchaudio.partykit.dev |
npx partykit login
npm run deploy:partyNote the host: slopzilla.<your-account>.partykit.dev
Set env vars in the Vercel project, then redeploy:
VITE_MAPBOX_TOKENVITE_PARTYKIT_HOST=slopzilla.<your-account>.partykit.dev
Vite bakes env vars at build time — redeploy after changing them.
| File | Purpose |
|---|---|
party/index.ts |
Game server — phases, bots, Slopzilla, match logic |
party/matchmaker.ts |
Shards players into 4–8 player city rooms |
src/store/index.ts |
Client state + PartySocket connection |
src/map/GameMap.tsx |
Mapbox map, players, orbs, exits |
src/ui/mobile/ |
Touch joystick + RUN button |