diff --git a/README.md b/README.md index b208a06..f41be50 100644 --- a/README.md +++ b/README.md @@ -79,6 +79,7 @@ The home page lists one **Games Hub** card (`games/`). Individual games live on - **Number Slide** (`games/numbers/`) — 15-puzzle on a 4×4 board; best move count - **Word Scramble** (`games/words/`) — unscramble a common word; best streak - **Reaction Tap** (`games/reaction/`) — wait for gold, tap fast; best average ms +- **Tap Order** (`games/order/`) — tap 1–9 in order on a 3×3 grid; best time ### AI diff --git a/assets/site.css b/assets/site.css index 3bbdf17..bf11e5c 100644 --- a/assets/site.css +++ b/assets/site.css @@ -779,8 +779,6 @@ body[data-tool="collab"] .site-footer { display: none; } justify-content: center; } -@media (max-width: 420px) { - /* Reaction Tap */ .reaction-pad { width: min(100%, 320px); @@ -816,6 +814,54 @@ body[data-tool="collab"] .site-footer { display: none; } transform: scale(0.98); } +/* Tap Order */ +.order-grid { + display: grid; + grid-template-columns: repeat(3, minmax(72px, 96px)); + gap: 0.55rem; + width: max-content; + max-width: 100%; + margin: 0 auto; +} +.order-cell { + aspect-ratio: 1; + min-width: 72px; + min-height: 72px; + border-radius: 14px; + border: 1px solid var(--color-line); + background: var(--color-card); + color: var(--color-text); + font-size: 1.55rem; + font-weight: 800; + cursor: pointer; + display: flex; + align-items: center; + justify-content: center; + user-select: none; + -webkit-tap-highlight-color: transparent; + font-variant-numeric: tabular-nums; + transition: border-color 0.12s ease, background 0.12s ease, transform 0.08s ease, color 0.12s ease; +} +.order-cell:hover:not(:disabled):not(.is-done) { + border-color: rgba(255, 195, 0, 0.55); + color: var(--color-accent); +} +.order-cell:active:not(:disabled):not(.is-done) { + transform: scale(0.96); +} +.order-cell.is-done { + background: rgba(74, 222, 128, 0.12); + border-color: rgba(74, 222, 128, 0.4); + color: var(--color-ok); + cursor: default; +} +.order-cell.is-miss { + border-color: rgba(248, 113, 113, 0.7); + background: rgba(248, 113, 113, 0.12); +} +.order-cell:disabled { cursor: default; } + +@media (max-width: 420px) { .memory-grid, .slide-grid { grid-template-columns: repeat(4, minmax(56px, 1fr)); @@ -832,4 +878,13 @@ body[data-tool="collab"] .site-footer { display: none; } width: 100%; } .seq-pad { min-height: 96px; } + .order-grid { + grid-template-columns: repeat(3, minmax(56px, 1fr)); + width: 100%; + } + .order-cell { + min-width: 0; + min-height: 56px; + font-size: 1.25rem; + } } diff --git a/games/index.html b/games/index.html index a46a08e..494f656 100644 --- a/games/index.html +++ b/games/index.html @@ -4,7 +4,7 @@ Focus Games | RMKR Toolkit - + @@ -37,6 +37,10 @@

Word Scramble

Reaction Tap

Wait for gold, then tap. Five rounds; best average time stays on this device.

+ +

Tap Order

+

Numbers 1–9 are shuffled on a 3×3 grid. Tap them in order as fast as you can.

+

How it works

diff --git a/games/order/index.html b/games/order/index.html new file mode 100644 index 0000000..b4e24e0 --- /dev/null +++ b/games/order/index.html @@ -0,0 +1,159 @@ + + + + + + Tap Order | RMKR Toolkit + + + + + + + + +
+ ← Focus Games +

Tap Order

+

Numbers 1–9 are mixed on a 3×3 grid. Tap them in ascending order. Timer starts on your first tap.

+ +
+
+ Time: — + Best: — + Next: 1 +
+
+ +
+
+

Press Shuffle, then tap 1 through 9 in order.

+
+
+
+
+ + +