From ff8be5ca621b1b587678250c8cf6780b0e2d4914 Mon Sep 17 00:00:00 2001 From: Ramkumar Ethiraj Date: Sat, 17 Oct 2026 05:09:45 +0000 Subject: [PATCH] Add More Dots focus game Numerosity drill at games/more/: two panels of dots flash up and the player taps Left, Equal, or Right for the side with more (keyboard: left arrow, down arrow or E, right arrow). The gap between counts narrows and the view time shrinks as the streak grows. Best streak is kept in localStorage. Wired into the games hub and README Focus Games list. --- README.md | 1 + assets/site.css | 19 ++++ games/index.html | 6 +- games/more/index.html | 203 ++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 228 insertions(+), 1 deletion(-) create mode 100644 games/more/index.html diff --git a/README.md b/README.md index d172d56..3ff5d6b 100644 --- a/README.md +++ b/README.md @@ -96,6 +96,7 @@ The home page lists one **Games Hub** card (`games/`). Individual games live on - **Go Stop** (`games/stop/`) — tap on GO, hold still on STOP; time window tightens with the streak; best streak - **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`. #### How to add or change quiz questions diff --git a/assets/site.css b/assets/site.css index 3c3264c..7a76032 100644 --- a/assets/site.css +++ b/assets/site.css @@ -1709,3 +1709,22 @@ body[data-tool="collab"] .site-footer { display: none; } width: 62%; height: 62%; } + +/* More Dots (reuses Turned or Flipped pair + Count the Dots field) */ +.more-pair .dots-field { + width: min(200px, 40vw); + margin: 0; + transition: box-shadow 0.15s ease; +} +.more-pair .dots-dot { + width: 12px; + height: 12px; + margin: -6px 0 0 -6px; +} +.more-card.is-correct .dots-field { + box-shadow: 0 0 0 2px #4ade80; +} +.more-actions .even-btn { + flex: 1 1 0; + min-width: 0; +} diff --git a/games/index.html b/games/index.html index c2dace4..9e4e9f4 100644 --- a/games/index.html +++ b/games/index.html @@ -4,7 +4,7 @@ Focus Games | RMKR Toolkit - + @@ -105,6 +105,10 @@

Turned or Flipped

Spot the Change

A grid of shapes blinks off and back on with one cell changed. Tap the one that changed.

+ +

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.

diff --git a/games/more/index.html b/games/more/index.html new file mode 100644 index 0000000..5f509e3 --- /dev/null +++ b/games/more/index.html @@ -0,0 +1,203 @@ + + + + + + More Dots | RMKR Toolkit + + + + + + +
+ ← Focus Games +

More Dots

+

Two panels of dots appear for a moment. Tap Left or Right for the side with more dots, or Equal if they match. Don't count — estimate.

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

Press Start. Keyboard: ← Left, ↓ or E Equal, → Right.

+
+
+ + +
+
+
+ + +