# Original prompt

build a minimal d2 html game using ascii art

# Generated expansion

Continue the existing project as a minimal D2 HTML ASCII dungeon game. First inspect and preserve the current HTML, CSS, and modular JavaScript structure rather than replacing it wholesale. Verify the browser entry point, DOM selectors, module loading, renderer, input listeners, update logic, and game loop before changing behavior. The intended experience is a responsive semantic HTML game with a dark terminal-inspired interface, green monospace text, a bordered ASCII dungeon grid, compact status information, and a message area. The player should move with arrow keys or WASD, use Space to wait, be blocked by walls, deal with or avoid enemies, clear the enemies, and reach the `>` exit. Keep the implementation image-free for gameplay, readable on mobile, and faithful to the existing layout and visual language. Use `docs/design-reference.png` only as non-authoritative visual guidance. Run the game through a local static server, test the primary interaction end to end, and only then address concrete wiring, rendering, collision, event-loop, accessibility, or responsive-layout defects. Do not claim completion until the browser behavior is verified.