showcaseglenacota/leakrooms

LEAKROOMS: A Vibe Coded Backrooms Plumbing Game for the Browser

LEAKROOMS is a 2D browser stealth game where a plumber seals leaks across flooding Backrooms floors. Vanilla JavaScript, no build step, openly vibe coded.

githubView the repo See the badge in its README

A pipe has burst somewhere in an endless maze of yellow rooms. Water runs downhill from the break, so you follow the wet carpet. When you find the leak, you stand still for five seconds to fix it. Fixing it makes noise. Something in the dark is listening.

Independent write-up based on the public repository at the commit linked above. Not an endorsement, security review or collaboration with the maintainer.

What it does

LEAKROOMS is a 2D, top-down puzzle and stealth game that runs in the browser. The repo describes it as “Keep the Backrooms from flooding”. You play an “overworked plumber” sent by the fictional Async Research Institute to fix leaks across five floors of the Backrooms, the internet horror setting of endless yellow rooms.

The README sets out the rules in some detail:

  • Vision: you see a 200° cone. Anything behind you or behind a wall is black.
  • Radar: press R to light the whole floor at once. It drains battery fast.
  • Noise: sprinting is fast but loud. Wading through flooded carpet is slower and louder than dry floor.
  • Repairs: there is no repair button. You stand at the leak and press nothing.
  • Enemies: “tall figures of coiled black wire” lie dormant until they hear you, then hunt by sound and sight.

Each shift ends with an INVOICE that doubles as your score, and the total can go negative. There are three difficulty terms (RELAXED, NORMAL and HARD), a training shift and illustrated tutorials.

The repo lists a website at lab.glenacota.me/leakrooms. We didn’t visit it.

How it’s built

The README lists the stack as “Vanilla JavaScript, HTML5, and CSS3”. The project’s AGENTS.md adds that it uses ES modules, Canvas 2D and Web Audio, with “no dependencies, no build step and no external assets”.

The code is split into layers: pure simulation (src/sim/), run state and the game loop (src/game/), drawing (src/render/), screens and input (src/ui/) and sound (src/audio/). One file, src/boot.js, wires them together. Seven short architecture decision records in docs/adr/ explain choices like a fixed 1/60 s simulation step and seeded, reproducible floors.

Tests run on Node’s built-in test runner, with hand-written stubs standing in for the DOM, canvas and audio. A GitHub Actions workflow runs the suite on Node 20 and 22.

Where AI comes in

The README shows a Claude badge and a GitHub Copilot badge, and opens with a short disclaimer: “Pure vibe coding. I wanted to play this, not showcase a well-designed web game.”

Beyond that line, the maintainer doesn’t describe the workflow in prose. The repo does contain files written for coding agents, which we note as observation rather than as the maintainer’s account:

  • AGENTS.md, a long brief covering read order, commands, layer rules, “frozen contracts” and a definition of done. CLAUDE.md just points to it.
  • .claude/settings.json, which blocks edits to test fixtures and asks before changes to the main constants file.
  • .claude/skills/leakrooms-audit/, a skill that produces an audit report without changing code.
  • .opencode/opencode.json, which defaults to a read-only “plan” agent and asks before most commands.

ADR 0001 also says the no-build choice means “every file an agent or a reader touches is the file that actually runs”.

What stands out

These are our observations from the repo at the snapshot.

  • Guardrails for agents are written down. The frozen contracts (noise table, difficulty presets, fixed time step, seeded randomness) read like rules meant to stop an assistant changing game feel by accident.
  • Drawing changes are caught by a hash. A “golden” render trace records a fingerprint of the canvas draw calls. Any change to drawing fails a test unless the fingerprint is deliberately regenerated.
  • The test bots are described honestly. The README says its player-like bot can see enemies through walls and “does not model human perception or decisions exactly”, and that those run tests don’t gate the build.
  • The history is busy. The repo was created in October 2026 and has about 500 commits. Recent ones focus on clean-ups and rendering speed-ups.
  • Some docs run ahead of the code. The README points to src/config/scoring.js and docs/adr/0008-the-invoice-is-the-score.md, but neither file exists at this commit. The score formula is in src/game/score.js.

Before you try it

  • Licence: MIT.
  • Platform: a modern browser. To run it locally you need to serve the folder, because ES modules won’t load from file://. The README uses npm run serve, and package.json asks for Node 20 or later.
  • Controls: keyboard (WASD or arrows, Shift, R, F, Esc). The source also includes touch controls.
  • Status: the maintainer frames it as a game they wanted to play, not a showcase of good design. There are no releases or version numbers at this snapshot.

Planning to run the repo’s scripts? Our vibe coding security guide has a short checklist.

Sources

Facts were checked against commit 4689372147fe01ccb7b5ed9feb1ee948eaad2816 on 2 December 2026. The project may have changed since. To request a correction, see our editorial policy.