diff --git a/README.md b/README.md index 20e01c1..e6f1f71 100644 --- a/README.md +++ b/README.md @@ -88,6 +88,7 @@ The home page lists one **Games Hub** card (`games/`). Individual games live on - **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 +- **Even or Odd** (`games/even/`) — say whether a number from 1–99 is even or odd; 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 39fb7e0..cb03711 100644 --- a/assets/site.css +++ b/assets/site.css @@ -1255,6 +1255,42 @@ body[data-tool="collab"] .site-footer { display: none; } padding: 0.85rem 1rem; } +/* Even or Odd */ +.even-stage { + display: flex; + flex-direction: column; + align-items: center; + gap: 1.1rem; + width: min(100%, 360px); + margin: 0 auto; +} +.even-number { + margin: 0; + font-size: clamp(3.2rem, 14vw, 4.6rem); + font-weight: 900; + line-height: 1; + letter-spacing: -0.03em; + color: var(--color-gold, #ffc300); + min-height: 1.1em; + text-align: center; +} +.even-number.ok { color: #4ade80; } +.even-number.err { color: #f87171; } +.even-actions { + display: flex; + flex-wrap: wrap; + gap: 0.75rem; + width: 100%; + justify-content: center; +} +.even-btn { + flex: 1 1 calc(50% - 0.5rem); + min-height: 56px; + font-size: 1.05rem; + font-weight: 700; + padding: 0.85rem 1rem; +} + /* Find Number */ .find-stage { display: flex; @@ -1520,6 +1556,11 @@ body[data-tool="collab"] .site-footer { display: none; } font-size: 1rem; } + .even-btn { + min-height: 56px; + font-size: 1rem; + } + .find-cell { min-height: 56px; font-size: 1.05rem; diff --git a/games/even/index.html b/games/even/index.html new file mode 100644 index 0000000..c86824b --- /dev/null +++ b/games/even/index.html @@ -0,0 +1,162 @@ + + + + + + Even or Odd | RMKR Toolkit + + + + + + + + +
+ ← Focus Games +

Even or Odd

+

A number from 1–99 is shown. Tap whether it is even or odd. Keep a streak going.

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

Press Start, then tap Even or Odd.

+
+
+ + +
+
+
+ + + diff --git a/games/index.html b/games/index.html index b4fd995..7998781 100644 --- a/games/index.html +++ b/games/index.html @@ -4,7 +4,7 @@ Focus Games | RMKR Toolkit - + @@ -73,6 +73,10 @@

Sum Pair

Missing Number

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

+ +

Even or Odd

+

A number from 1–99. Tap whether it is even or odd. Best streak stays local.

+

Casual Quiz

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