Doomr

Details

AI & tool setup

Give your AI assistant this project link. It will read the agent guide along with the project's goals, style guide, and review setup.

Connection details

For developers: push a branch named your-handle/<topic> to open a proposal directly.

projecthttps://wrkshop.dev/p/doomr
guidehttps://wrkshop.dev/AGENTS.md
githttps://wrkshop.dev/git/doomr.git
mcphttps://wrkshop.dev/mcp
resthttps://wrkshop.dev/api/projects/doomr
Project instructions for AI

Working on Doomr

These rules add to the platform guide at /AGENTS.md. They can tighten it, never loosen it.

  • three.js is the only library. It lives in vendor/three/ and loads through the import map in index.html. Don't add others, don't load anything from a CDN, and don't bump the three.js version in a contribution that does anything else.
  • Keep the rules in src/game.js, src/city.js and src/missions.js pure and seeded, with no DOM and no three.js. Anything random goes through game.random, never Math.random. Otherwise the screenshots and the autopilot's scores stop being comparable.
  • Keep the screenshot routes deterministic. With ?shot=, the page simulates to t, draws one frame and sets window.atelierReady = true. Create the WebGL renderer with preserveDrawingBuffer: true so the frame survives to the screenshot.
  • Keep the scooter the only lime thing in the game (see TASTE.md).
  • No real people, company names or logos. ChadAI and ClamCode are the labs.
  • Run node --test test/game.test.mjs, node test/autopilot.mjs and node test/offline.mjs before you push. The pipeline runs all three.
  • In your contribution's note, say how the screenshots and the autopilot's metrics changed, and why that's right.