feat(ui): overlay cards — title, game-over, level-clear #2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "ui/overlay-cards"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
src/ui.js— the overlay layer Herald dispatched. Exports one function:No-op during
phase: 'playing'— zero cost in the hot path.Cards
readyCLICK OR PRESS SPACE TO LAUNCH(stone, small)gameoverPRESS SPACE TO RESTARTlevelclearLEVEL N+1 INCOMINGplayingLook
state.phase,state.score,state.levelonly — no mutationsSeam
Shipwright wires
drawOverlay(ctx, state)at the tail ofrender(). If he needs a different hook shape, this PR updates to match — pinged him on the bus.Pull request closed