Maze Solver & Dungeon Crawler

A fog-of-war crawler where every step is a decision made the same way the runtime makes them: cheapest reliable mechanism first. No neural network anywhere: the scout checks rules (fight is forced, exit one step away, monster too close), falls back to breadth-first searches over only what it has seen, and when two frontier routes cost exactly the same the genuine tie goes to the same WASM engine the whole playground runs. The rung chip beside the canvas names what decided every single step. Play yourself (WASD / arrows), or race a ghost of the bot that runs its own identical maze under its own fog.

What decides what

  • Rules fire first, always. Forced fights, an exit one step away, a monster inside its chase radius — the scout never puts a rule on the wire. The trace panel shows every step's rung, so “the engine decided this” is always a checkable claim, never a vibe.
  • Search sees only what the bot has seen. Exit route, loot, chests, nearest unexplored frontier — all breadth-first over the remembered map. The fog is honest: avoid-monsters routes around every threat it has actually seen, and nothing it hasn't.
  • Genuine ties go to the engine. Two frontier routes costing exactly the same becomes a real choice request when the engine checkbox is on — the same WASM runtime the rest of the playground uses. Switch it off and the tie falls back to plain roster order.
  • God view is a declared cheat. Any run finished while the god view is on is marked assisted and scores nothing on the session board.

Honest edges

  • Two map types (classic corridors, rooms-and-hallways dungeons) and two vision modes (full disc, facing torch cone). Bigger maps are genuinely more cells, not the same map scaled up.
  • Monsters chase along a real line-of-sight ray (Bresenham per cell, walls stop it) and cost a two-second static fight on contact. Chests take one second and hold coins 0–5… or something with teeth.
  • Found everything? The exit is the one opening in the outer wall — usually as far from the middle as it can be.
  • The leaderboard is session-only: nothing you do is stored, sent, or scored anywhere but this tab.