From 7bdc08b69d4b6befc4dcddb2739e3a93aa4f1b16 Mon Sep 17 00:00:00 2001 From: Ramkumar Ethiraj Date: Sat, 17 Oct 2026 05:21:52 +0000 Subject: [PATCH 1/2] Unlist Casual Quiz from the games hub --- README.md | 6 +++++- games/index.html | 9 ++------- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 3ff5d6b..cfa1c87 100644 --- a/README.md +++ b/README.md @@ -97,7 +97,10 @@ The home page lists one **Games Hub** card (`games/`). Individual games live on - **Turned or Flipped** (`games/turn/`) — reference vs probe shape; tap whether the probe is rotated or mirrored; best streak - **Spot the Change** (`games/change/`) — a grid of shapes blinks off and returns with one cell changed in shape or color; tap it; 3×3 growing to 4×4, look time shrinks with the streak; best streak - **More Dots** (`games/more/`) — two panels of dots; tap Left, Equal, or Right for the side with more; counts get closer and view time shrinks with the streak; 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`. + +#### Casual Quiz (unlisted) + +**Casual Quiz** (`games/quiz/`) is no longer linked from the Games Hub, but the page still works at its URL. Multiple-choice on India, Tamil Nadu, science, technology, and more, plus a General mix. Marks stay in `localStorage`. Questions live only in `games/quiz/questions.json`. #### How to add or change quiz questions @@ -141,6 +144,7 @@ node scripts/site-check.mjs ## Notes - Shared chrome lives in `assets/site.css` and `assets/site.js`. +- Game pages put `class="game-page"` on ``; `site.css` uses it for mobile tap handling (no double-tap zoom, no tap text selection, 44px tap targets). - Small libraries used by a few tools are vendored under `assets/vendor/`. - Existing tool URLs (`/md`, `/jwt`, `/transform`, and the rest) are unchanged. - New pages set `data-root` and `data-tool` so the shared nav/footer inject correctly. diff --git a/games/index.html b/games/index.html index 9e4e9f4..131beec 100644 --- a/games/index.html +++ b/games/index.html @@ -2,9 +2,9 @@ - + Focus Games | RMKR Toolkit - + @@ -109,10 +109,6 @@

Spot the Change

More Dots

Two panels of dots flash up. Tap Left, Equal, or Right for the side with more — the gap narrows as you go.

- -

Casual Quiz

-

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

-

How it works

@@ -120,7 +116,6 @@

How it works

From 2177a5e0c041e1c58e69c2963f3995372ccc9d9a Mon Sep 17 00:00:00 2001 From: Ramkumar Ethiraj Date: Sat, 17 Oct 2026 05:21:52 +0000 Subject: [PATCH 2/2] Stop double-tap zoom and tap selection on game pages --- assets/site.css | 28 ++++++++++++++++++++++++++++ games/arrow/index.html | 4 ++-- games/change/index.html | 4 ++-- games/colors/index.html | 4 ++-- games/dots/index.html | 4 ++-- games/even/index.html | 4 ++-- games/find/index.html | 4 ++-- games/higher/index.html | 4 ++-- games/math/index.html | 4 ++-- games/memory/index.html | 4 ++-- games/missing/index.html | 4 ++-- games/more/index.html | 4 ++-- games/numbers/index.html | 4 ++-- games/odd/index.html | 4 ++-- games/order/index.html | 4 ++-- games/pop/index.html | 4 ++-- games/quiz/index.html | 4 ++-- games/reaction/index.html | 4 ++-- games/recall/index.html | 4 ++-- games/same/index.html | 4 ++-- games/sequence/index.html | 4 ++-- games/stop/index.html | 4 ++-- games/sum/index.html | 4 ++-- games/turn/index.html | 4 ++-- games/words/index.html | 4 ++-- 25 files changed, 76 insertions(+), 48 deletions(-) diff --git a/assets/site.css b/assets/site.css index 7a76032..45e7bb7 100644 --- a/assets/site.css +++ b/assets/site.css @@ -1728,3 +1728,31 @@ body[data-tool="collab"] .site-footer { display: none; } flex: 1 1 0; min-width: 0; } + +/* Focus Games: mobile tap handling. + Double-tap zoom is turned off on game pages via touch-action (pinch zoom + still works), taps don't select text or flash a highlight, and controls + keep a 44px minimum tap target. */ +.game-page main { + touch-action: manipulation; +} +.game-page main button, +.game-page main .btn, +.game-page main .chip, +.game-page .game-board-wrap { + touch-action: manipulation; + -webkit-tap-highlight-color: transparent; + -webkit-touch-callout: none; + -webkit-user-select: none; + user-select: none; +} +.game-page main .btn, +.game-page main .chip { + min-height: 44px; + min-width: 44px; +} +.game-page .game-board-wrap input, +.game-page .game-board-wrap textarea { + -webkit-user-select: text; + user-select: text; +} diff --git a/games/arrow/index.html b/games/arrow/index.html index b41ce0f..79486df 100644 --- a/games/arrow/index.html +++ b/games/arrow/index.html @@ -2,7 +2,7 @@ - + Middle Arrow | RMKR Toolkit @@ -11,7 +11,7 @@ - +
← Focus Games

Middle Arrow

diff --git a/games/change/index.html b/games/change/index.html index 5bc1eda..0a4e839 100644 --- a/games/change/index.html +++ b/games/change/index.html @@ -2,7 +2,7 @@ - + Spot the Change | RMKR Toolkit @@ -11,7 +11,7 @@ - +
← Focus Games

Spot the Change

diff --git a/games/colors/index.html b/games/colors/index.html index 7bd6d67..9edcb9a 100644 --- a/games/colors/index.html +++ b/games/colors/index.html @@ -2,7 +2,7 @@ - + Color Clash | RMKR Toolkit @@ -11,7 +11,7 @@ - +
← Focus Games

Color Clash

diff --git a/games/dots/index.html b/games/dots/index.html index 68e8f2e..9f0c3c8 100644 --- a/games/dots/index.html +++ b/games/dots/index.html @@ -2,7 +2,7 @@ - + Count the Dots | RMKR Toolkit @@ -11,7 +11,7 @@ - +
← Focus Games

Count the Dots

diff --git a/games/even/index.html b/games/even/index.html index c86824b..6581037 100644 --- a/games/even/index.html +++ b/games/even/index.html @@ -2,7 +2,7 @@ - + Even or Odd | RMKR Toolkit @@ -11,7 +11,7 @@ - +
← Focus Games

Even or Odd

diff --git a/games/find/index.html b/games/find/index.html index 4d2de16..3f2ffa8 100644 --- a/games/find/index.html +++ b/games/find/index.html @@ -2,7 +2,7 @@ - + Find Number | RMKR Toolkit @@ -11,7 +11,7 @@ - +
← Focus Games

Find Number

diff --git a/games/higher/index.html b/games/higher/index.html index ce44dd6..d3e42bc 100644 --- a/games/higher/index.html +++ b/games/higher/index.html @@ -2,7 +2,7 @@ - + Higher or Lower | RMKR Toolkit @@ -11,7 +11,7 @@ - +
← Focus Games

Higher or Lower

diff --git a/games/math/index.html b/games/math/index.html index 99231f4..a80e4b6 100644 --- a/games/math/index.html +++ b/games/math/index.html @@ -2,7 +2,7 @@ - + Quick Math | RMKR Toolkit @@ -11,7 +11,7 @@ - +
← Focus Games

Quick Math

diff --git a/games/memory/index.html b/games/memory/index.html index 4b6224b..e181891 100644 --- a/games/memory/index.html +++ b/games/memory/index.html @@ -2,7 +2,7 @@ - + Memory Match | RMKR Toolkit @@ -11,7 +11,7 @@ - +
← Focus Games

Memory Match

diff --git a/games/missing/index.html b/games/missing/index.html index f029ec5..3e000be 100644 --- a/games/missing/index.html +++ b/games/missing/index.html @@ -2,7 +2,7 @@ - + Missing Number | RMKR Toolkit @@ -11,7 +11,7 @@ - +
← Focus Games

Missing Number

diff --git a/games/more/index.html b/games/more/index.html index 5f509e3..3c6e5ac 100644 --- a/games/more/index.html +++ b/games/more/index.html @@ -2,14 +2,14 @@ - + More Dots | RMKR Toolkit - +
← Focus Games

More Dots

diff --git a/games/numbers/index.html b/games/numbers/index.html index dcdebc2..3b19a2c 100644 --- a/games/numbers/index.html +++ b/games/numbers/index.html @@ -2,7 +2,7 @@ - + Number Slide | RMKR Toolkit @@ -11,7 +11,7 @@ - +
← Focus Games

Number Slide

diff --git a/games/odd/index.html b/games/odd/index.html index 8e2782a..bb416cb 100644 --- a/games/odd/index.html +++ b/games/odd/index.html @@ -2,7 +2,7 @@ - + Odd One Out | RMKR Toolkit @@ -11,7 +11,7 @@ - +
← Focus Games

Odd One Out

diff --git a/games/order/index.html b/games/order/index.html index b4e24e0..02c77e2 100644 --- a/games/order/index.html +++ b/games/order/index.html @@ -2,7 +2,7 @@ - + Tap Order | RMKR Toolkit @@ -11,7 +11,7 @@ - +
← Focus Games

Tap Order

diff --git a/games/pop/index.html b/games/pop/index.html index d55d56f..6605caa 100644 --- a/games/pop/index.html +++ b/games/pop/index.html @@ -2,7 +2,7 @@ - + Pop Light | RMKR Toolkit @@ -11,7 +11,7 @@ - +
← Focus Games

Pop Light

diff --git a/games/quiz/index.html b/games/quiz/index.html index fdc319a..266ae6d 100644 --- a/games/quiz/index.html +++ b/games/quiz/index.html @@ -2,7 +2,7 @@ - + Casual Quiz | RMKR Toolkit @@ -11,7 +11,7 @@ - +
← Focus Games

Casual Quiz

diff --git a/games/reaction/index.html b/games/reaction/index.html index e20f243..8d9bd6b 100644 --- a/games/reaction/index.html +++ b/games/reaction/index.html @@ -2,7 +2,7 @@ - + Reaction Tap | RMKR Toolkit @@ -11,7 +11,7 @@ - +
← Focus Games

Reaction Tap

diff --git a/games/recall/index.html b/games/recall/index.html index a8ef9c2..074300a 100644 --- a/games/recall/index.html +++ b/games/recall/index.html @@ -2,7 +2,7 @@ - + Light Recall | RMKR Toolkit @@ -11,7 +11,7 @@ - +
← Focus Games

Light Recall

diff --git a/games/same/index.html b/games/same/index.html index e307564..4ad46d3 100644 --- a/games/same/index.html +++ b/games/same/index.html @@ -2,7 +2,7 @@ - + Same as Last | RMKR Toolkit @@ -11,7 +11,7 @@ - +
← Focus Games

Same as Last

diff --git a/games/sequence/index.html b/games/sequence/index.html index c1d08b4..4b490d9 100644 --- a/games/sequence/index.html +++ b/games/sequence/index.html @@ -2,7 +2,7 @@ - + Sequence Recall | RMKR Toolkit @@ -11,7 +11,7 @@ - +
← Focus Games

Sequence Recall

diff --git a/games/stop/index.html b/games/stop/index.html index eab8ddc..a46965f 100644 --- a/games/stop/index.html +++ b/games/stop/index.html @@ -2,7 +2,7 @@ - + Go Stop | RMKR Toolkit @@ -11,7 +11,7 @@ - +
← Focus Games

Go Stop

diff --git a/games/sum/index.html b/games/sum/index.html index c071875..bc63d9d 100644 --- a/games/sum/index.html +++ b/games/sum/index.html @@ -2,7 +2,7 @@ - + Sum Pair | RMKR Toolkit @@ -11,7 +11,7 @@ - +
← Focus Games

Sum Pair

diff --git a/games/turn/index.html b/games/turn/index.html index ac9f9d0..cc09a7b 100644 --- a/games/turn/index.html +++ b/games/turn/index.html @@ -2,7 +2,7 @@ - + Turned or Flipped | RMKR Toolkit @@ -11,7 +11,7 @@ - +
← Focus Games

Turned or Flipped

diff --git a/games/words/index.html b/games/words/index.html index 6edabda..2565534 100644 --- a/games/words/index.html +++ b/games/words/index.html @@ -2,7 +2,7 @@ - + Word Scramble | RMKR Toolkit @@ -11,7 +11,7 @@ - +
← Focus Games

Word Scramble