Arcade: State Shape ID — sixth game (silhouette → tap the state)#7
Draft
mapzimus wants to merge 2 commits into
Draft
Arcade: State Shape ID — sixth game (silhouette → tap the state)#7mapzimus wants to merge 2 commits into
mapzimus wants to merge 2 commits into
Conversation
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
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.shape. Single-tap, so it reuses the proven find-state resolve path.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.htmlscript blocks passnode --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