Poop Arcade — the game, and the scenes behind it

SPEC §11. Blocks are real geometry in InstancedMeshes, occluded by the depth buffer; the camera is a fixed 45° OrthographicCamera; the simulation steps at 15Hz and the renderer interpolates between snapshots. P toggles the perf overlay in every scene.

  1. #entry — 방 만들기 / 참가 (player entry)
    The player-facing front door (§16): enter a nickname, create a room or land from a shared invite (/r/<CODE>, ?room=CODE, #join/CODE), then the lobby — participant list, character pick, face-photo upload, room code + SHARE, host lock/kick/start, lobby chat — and into #play in the same match. This is the default landing; an empty hash routes here.
  2. #play — playable match
    The actual game: five players, one of them yours. Floating joystick, throw, syringe and emotes (§12), the full HUD and minimap (§13, §4), §3's 2s banner + 3s countdown between rounds, spectator mode on death (§15) and a final result screen. Runs against the in-tab loopback in net/local.ts; add ?server=ws://host/m/<matchId> to the page URL to play the same client against the real match server instead — nothing else changes.
  3. #solo — 똥줄 타임 (혼자 하기)
    The single-player score attack: a 20-second clock that only refills when you break a box or grab an item — killing a bot pays in score, not time — and your own poop still has a 3-second fuse. Playing safe strictly loses. Die or run the clock out and the score card is instant, with 다시 one tap away. Runs entirely in this tab: no match server, no Durable Object, no request of any kind after the page loads, and the personal best lives in localStorage.
  4. #textures — texture atlas
    Every generated canvas at a readable size, plus the same textures uploaded as WebGL quads. Blank textures are detected by scanning pixels, not by eye.
  5. #map — full map
    A generated 21x17 five-player arena with every cell kind. Erode rings one at a time; walk a character behind a block to check depth-buffer occlusion.
  6. #items — item field
    All 8 item kinds in a labelled row and all 8 contaminated variants below them, on a cleared map. The §7 red disc and green haze must be unmistakable.
  7. #character — character rig
    The §11 rig in every state at once: one character per animation clip with the clip and playback rate read back off the state machine, a character turning N→E→S→W while its face plane's world quaternion is asserted constant, every effect visual, and six character tints side by side.
  8. #effects — item application
    A player is walked onto each item by the real simulation; the table shows stats and effects before and after every pickup, including a contaminated one and a capped one.
  9. #live — live match
    A real five-player match at 15Hz with scripted inputs, rendered with interpolation and restarted at round end. The primary smoothness test.
  10. #stress — stress
    Worst case: full arena, five players, a lattice of poops chain-exploding across the whole map, with items and stench tiles everywhere at once.
Automation: each scene sets window.__ready after its first drawn frame and publishes window.__scene; uncaught errors collect in window.__errors.