Skip to content

Add Sum Pair focus game - #38

Closed
rmkr-dev wants to merge 2 commits into
mainfrom
cursor/sum-pair-game-59cc
Closed

rmkr-dev wants to merge 2 commits into
mainfrom
cursor/sum-pair-game-59cc

Conversation

@rmkr-dev

@rmkr-dev rmkr-dev commented Sep 28, 2026 •

Copy link
Copy Markdown
Owner

Summary

Adds Sum Pair at games/sum/, a short number game on a 3×2 grid.

  • Press Start. A target from 8–18 appears above six different numbers from 1–12.
  • Exactly one unordered pair adds up to the target. Tap those two tiles to raise the streak.
  • A wrong pair resets the streak, then the next round starts. The matching pair is marked so the miss is easy to see.
  • Best streak is stored in localStorage under rmkr-game-sum-best. No sound.
  • Hub card, README list, and assets/site.css updated. Home still links only to the Games Hub.

Test plan

  • node scripts/site-check.mjs passes
  • Round generator checked for 5000 rounds: six distinct values, exactly one pair sums to the target
  • Played through start, a correct pair, a miss, deselect, and restart on desktop and a narrow screen
Open in Web Open in Cursor 

cursoragent and others added 2 commits September 28, 2026 15:59
Tap the one pair of numbers that adds up to a target. A miss resets the streak, and the best streak stays in localStorage.

Co-authored-by: Ramkumar Ethiraj <rmkr-dev@users.noreply.github.com>
Correct and miss states stay on the tiles for a short beat before the next round.

Co-authored-by: Ramkumar Ethiraj <rmkr-dev@users.noreply.github.com>
@rmkr-dev

Copy link
Copy Markdown
Owner Author

Superseded by #39.

@rmkr-dev rmkr-dev closed this Sep 28, 2026
@rmkr-dev
rmkr-dev deleted the cursor/sum-pair-game-59cc branch September 28, 2026 16:16
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