Skip to content

Arcade: State Shape ID — sixth game (silhouette → tap the state)#7

Draft
mapzimus wants to merge 2 commits into
masterfrom
claude/tappymaps-arcade-shape-id
Draft

Arcade: State Shape ID — sixth game (silhouette → tap the state)#7
mapzimus wants to merge 2 commits into
masterfrom
claude/tappymaps-arcade-shape-id

Conversation

@mapzimus

Copy link
Copy Markdown
Owner

Continues Arcade per the master spec §6, where State Shape ID was in the named game roster. Takes the Arcade from 5 → 6 games.

The game

We render the target state's silhouette into a clue card (framed by the path's own getBBox), and the player taps that state on the map before the timer. No name shown — the shape is the clue.

  • New game kind shape. Single-tap, so it reuses the proven find-state resolve path.
  • The silhouette card stays up the whole round, then hides on answer so the correct/wrong reveal isn't obscured.
  • Built entirely from the topology the Arcade already renders (reads the target path's d + getBBox), so no new data and zero contact with the editor.

Tests

8 Node assertions against the extracted engine: manifest/kind, 6 playable games, perfect run 10/10, card shows on prompt + hides on answer, seeded determinism. Both index.html script blocks pass node --check; Mobile IIFE untouched.

Needs a device pass for the one browser-only bit — the silhouette framing relies on getBBox, which I can't render here (guarded with a fallback).

https://claude.ai/code/session_012LZSDGQSgEVT2ufUbvxMLH


Generated by Claude Code

Continues the Arcade per spec §6 (State Shape ID was in the named roster).

- New game kind 'shape': we render the target state's silhouette into a clue
  card (framed by the path's own getBBox), and the player taps that state on
  the map. Single-tap, so it reuses the find-state resolve path; the card
  stays up the whole round (it IS the clue) and hides on answer so the
  correct/wrong reveal isn't obscured. No name spoiler (text pop suppressed).
- Manifest entry + arcadeShowShape/arcadeHideShape + a 'shape' branch in
  arcadeNextPrompt. Arcade hub now lists six games.

Tested in Node against the extracted engine (manifest, perfect run 10/10,
card show-on-prompt / hide-on-answer, seeded determinism — 8 assertions).
Both script blocks pass node --check; Block 1 untouched.

https://claude.ai/code/session_012LZSDGQSgEVT2ufUbvxMLH
@vercel

vercel Bot commented Jun 11, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
mapparatus Ready Ready Preview, Comment Jun 11, 2026 10:42am
tappymaps Ready Ready Preview, Comment Jun 11, 2026 10:42am

The Arcade hub grew past a viewport (6 games + GeoDraft) and the tile grid
couldn't scroll, so the third row (GeoDraft, appended last) was cut off and
unreachable.

- #modeArcade is now height:100vh + overflow:hidden and #arcadeHub scrolls
  internally (overflow-y:auto, touch momentum) — every tile is reachable.
- GeoDraft moved to the FRONT of the grid as the featured lead tile (orange
  accent), instead of being appended last.

Both script blocks pass node --check.

https://claude.ai/code/session_012LZSDGQSgEVT2ufUbvxMLH
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants