From 9203e6401c7bc01b20f9abf600c65efb48d93a49 Mon Sep 17 00:00:00 2001 From: Ramkumar Ethiraj <64294490+rmkr-dev@users.noreply.github.com> Date: Tue, 29 Sep 2026 16:07:11 +0000 Subject: [PATCH] Add Missing Number focus game Short ascending sequences with one blank; tap the missing value from four choices. Best streak stays in localStorage. --- README.md | 1 + assets/site.css | 71 +++++++++++++ games/index.html | 6 +- games/missing/index.html | 222 +++++++++++++++++++++++++++++++++++++++ 4 files changed, 299 insertions(+), 1 deletion(-) create mode 100644 games/missing/index.html diff --git a/README.md b/README.md index 6c72ed8..20e01c1 100644 --- a/README.md +++ b/README.md @@ -87,6 +87,7 @@ The home page lists one **Games Hub** card (`games/`). Individual games live on - **Find Number** (`games/find/`) — spot the target number in a 4×4 grid; best streak - **Pop Light** (`games/pop/`) — tap the gold cell on a 3×3 grid before it fades; best streak - **Sum Pair** (`games/sum/`) — tap the one pair of numbers that adds to the target; best streak +- **Missing Number** (`games/missing/`) — fill the blank in a short +1/+2/+3 sequence; best streak - **Casual Quiz** (`games/quiz/`) — multiple-choice on India, Tamil Nadu, science, technology, and more, plus a General mix. Switch topic or level anytime. Marks stay in `localStorage`. Questions live only in `games/quiz/questions.json`. #### How to add or change quiz questions diff --git a/assets/site.css b/assets/site.css index 9fb7e26..39fb7e0 100644 --- a/assets/site.css +++ b/assets/site.css @@ -1159,6 +1159,66 @@ body[data-tool="collab"] .site-footer { display: none; } color: #f87171; } + +/* Missing Number */ +.missing-stage { + display: flex; + flex-direction: column; + align-items: center; + gap: 1.1rem; + width: min(100%, 360px); + margin: 0 auto; +} +.missing-seq { + display: grid; + grid-template-columns: repeat(4, minmax(0, 1fr)); + gap: 0.55rem; + width: 100%; +} +.missing-seq.ok .missing-slot.is-blank { color: #4ade80; border-color: rgba(74, 222, 128, 0.7); } +.missing-seq.err .missing-slot.is-blank { color: #f87171; border-color: rgba(248, 113, 113, 0.7); } +.missing-slot { + display: flex; + align-items: center; + justify-content: center; + min-height: 72px; + border-radius: 14px; + border: 1px solid rgba(255, 195, 0, 0.28); + background: rgba(255, 195, 0, 0.06); + font-size: clamp(1.6rem, 7vw, 2.2rem); + font-weight: 900; + color: var(--color-gold, #ffc300); + letter-spacing: -0.02em; +} +.missing-slot.is-blank { + border-style: dashed; + background: rgba(255, 255, 255, 0.04); + color: rgba(255, 255, 255, 0.55); +} +.missing-choices { + display: grid; + grid-template-columns: repeat(2, minmax(0, 1fr)); + gap: 0.7rem; + width: 100%; +} +.missing-choice { + min-height: 64px; + font-size: 1.25rem; + font-weight: 800; + padding: 0.9rem 1rem; + border-radius: 14px; +} +.missing-choice.is-correct { + border-color: rgba(74, 222, 128, 0.7); + background: rgba(74, 222, 128, 0.14); + color: #4ade80; +} +.missing-choice.is-miss { + border-color: rgba(248, 113, 113, 0.7); + background: rgba(248, 113, 113, 0.12); + color: #f87171; +} + /* Higher or Lower */ .higher-stage { display: flex; @@ -1444,6 +1504,17 @@ body[data-tool="collab"] .site-footer { display: none; } padding: 0.8rem 0.85rem; } + .missing-slot { + min-height: 60px; + font-size: 1.35rem; + border-radius: 12px; + } + .missing-choice { + min-height: 60px; + font-size: 1.15rem; + padding: 0.8rem 0.85rem; + } + .higher-btn { min-height: 56px; font-size: 1rem; diff --git a/games/index.html b/games/index.html index bedd75e..b4fd995 100644 --- a/games/index.html +++ b/games/index.html @@ -4,7 +4,7 @@ Focus Games | RMKR Toolkit - + @@ -69,6 +69,10 @@

Pop Light

Sum Pair

A target sum and six numbers. Tap the one pair that adds up. Best streak stays local.

+ +

Missing Number

+

A short sequence with one blank. Tap the missing number from four choices. Best streak stays local.

+

Casual Quiz

Multiple-choice on India, Tamil Nadu, science, tech, and more. Switch topic or level anytime.

diff --git a/games/missing/index.html b/games/missing/index.html new file mode 100644 index 0000000..f029ec5 --- /dev/null +++ b/games/missing/index.html @@ -0,0 +1,222 @@ + + + + + + Missing Number | RMKR Toolkit + + + + + + + + +
+ ← Focus Games +

Missing Number

+

A short ascending sequence shows four slots with one blank. Tap the missing number from four choices. Keep a streak going.

+ +
+
+ Streak: 0 + Best: — +
+
+ +
+
+

Press Start, then tap the missing number.

+
+
+ + +
+
+
+ + +