14 lines
941 B
Markdown
14 lines
941 B
Markdown
Implement PHASE 1 ONLY (core engine). Do not implement possession, enemies, procgen
|
|
beyond a basic floor, shop, or save/load yet.
|
|
- HTML5 Canvas (25x18 tile grid, 800x576 canvas + HUD bar), game loop, grid system,
|
|
tile rendering with visible grid lines.
|
|
- Wall collision. Ghost movement: WASD / arrows, one tile per turn.
|
|
- Base ghost timer = 15 steps, decremented by tick(n). Show it in the HUD.
|
|
- Fog of war: visible radius around the player; explored-but-unseen tiles dimmed.
|
|
- Title screen that visibly explains WASD/arrows, SPACE, Q/E, ENTER, ESC, AND offers
|
|
the enemy Legend/Bestiary panel (toggle 'l'). Live HUD shows a contextual SPACE hint.
|
|
- A basic floor for now: a simple carved layout with walls, floor, and an exit tile.
|
|
Full procedural generation is phase 4 — do not build it yet.
|
|
- start() must initialize to the TITLE screen. Expose window.GAME per the contract.
|
|
Finish by running: node verify.js 1 (must exit 0).
|