Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ The home page lists one **Games Hub** card (`games/`). Individual games live on
- **Echo Path** (`games/echo/`) — staged memory game; watch a path of adjacent cells light up, then trace it in order; one step longer per stage, grid grows 3×3 → 5×5, three lives, combo multiplier up to ×5, pause and restart; best score
- **Number Forge** (`games/forge/`) — target-number puzzle; tap a tile, a sign, and a second tile to merge them, and make the target; Journey runs 15 puzzles over 5 tiers (3 → 5 tiles, × then ÷ unlock, 3 skips), Blitz is 2 minutes (+5s per solve); par and speed bonuses, clean-streak bonus, undo/reset/hint, results summary; best score per mode
- **Circuit Link** (`games/circuit/`) — rotate-the-tiles wiring puzzle; tap tiles to turn them until every tile is fed from the gold core with no loose ends; Journey runs 12 circuits over 4 tiers (4×4, 5×5, 6×6, 6×8, 3 skips), Blitz is 3 minutes (+10s per solve), Daily is one date-seeded 6×6 board; turn-direction toggle, lock mode, undo/reset/hint, par-tap and speed bonuses, clean-streak bonus, results summary; best score per mode
- **Lumen** (`games/lumen/`) — canvas light-beam puzzle; drag mirrors and splitters onto floor tiles and tap to turn them so red, green and blue lasers reach every target with exactly the colour mix it asks for; 19 handcrafted levels over 4 tiers (Reflect, Split, Spectrum, Mastery) with pivots, fixed mirrors, glass and colour gates; undo/restart/pause, par-based 1–3 stars per level, level select with unlocks and progress in `rmkr-game-lumen-*`; every level checked solvable by `node scripts/verify-lumen.mjs`

#### Casual Quiz (unlisted)

Expand Down
93 changes: 93 additions & 0 deletions assets/site.css
Original file line number Diff line number Diff line change
Expand Up @@ -2126,3 +2126,96 @@ body[data-tool="collab"] .site-footer { display: none; }
@media (prefers-reduced-motion: reduce) {
.cl-pipe, .cl-grid { transition: none; }
}

/* Lumen (light-beam puzzle) */
.lm-stage { width: min(100%, 560px); }
.lm-play { display: flex; flex-direction: column; gap: 0.75rem; width: 100%; }
.lm-play[hidden], .lm-select[hidden] { display: none; }
.lm-strip {
display: flex;
flex-wrap: wrap;
gap: 0.35rem 1rem;
justify-content: space-between;
font-size: 0.82rem;
font-weight: 700;
color: var(--color-muted);
}
.lm-strip strong { color: var(--color-accent); font-variant-numeric: tabular-nums; }
.lm-canvas-wrap {
position: relative;
display: flex;
justify-content: center;
width: 100%;
}
.lm-canvas {
display: block;
max-width: 100%;
border-radius: var(--radius);
border: 1px solid var(--color-line);
box-shadow: var(--shadow);
touch-action: none;
cursor: pointer;
}
.lm-canvas:focus { outline: none; }
.lm-canvas:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; }
.lm-tools {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 0.5rem;
}
.lm-select { display: flex; flex-direction: column; gap: 1rem; width: 100%; }
.lm-tier-title {
display: flex;
flex-wrap: wrap;
align-items: baseline;
gap: 0.25rem 0.6rem;
margin: 0 0 0.5rem;
font-size: 1rem;
}
.lm-tier-title span { font-size: 0.78rem; font-weight: 600; color: var(--color-muted); }
.lm-levels {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
gap: 0.5rem;
}
.lm-lvl {
display: flex;
flex-direction: column;
align-items: center;
gap: 0.15rem;
min-height: 44px;
padding: 0.55rem 0.35rem;
border-radius: var(--radius);
border: 1px solid var(--color-line);
background: linear-gradient(145deg, #1c2844, #121a2c);
color: var(--color-text);
font-family: inherit;
cursor: pointer;
transition: border-color 0.12s ease, transform 0.08s ease;
}
.lm-lvl:hover:not(:disabled) { border-color: var(--color-accent); }
.lm-lvl:active:not(:disabled) { transform: scale(0.97); }
.lm-lvl:disabled { opacity: 0.45; cursor: default; }
.lm-lvl.is-done { border-color: rgba(255, 195, 0, 0.45); }
.lm-lvl-n { font-size: 1.15rem; font-weight: 900; color: var(--color-accent); }
.lm-lvl-name { font-size: 0.74rem; font-weight: 700; text-align: center; overflow-wrap: anywhere; }
.lm-lvl-stars { font-size: 0.78rem; color: var(--color-accent); letter-spacing: 0.08em; }
.lm-lvl.is-locked .lm-lvl-stars { color: var(--color-muted); letter-spacing: 0; }
.lm-win {
position: absolute;
inset: 0;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 0.4rem;
padding: 1rem;
text-align: center;
background: rgba(12, 21, 36, 0.9);
border-radius: var(--radius);
}
.lm-win[hidden] { display: none; }
.lm-win-stars { margin: 0; font-size: 2rem; color: var(--color-accent); letter-spacing: 0.15em; }
.lm-win-title { margin: 0; font-size: 1.25rem; }
.lm-win-text { margin: 0; font-size: 0.9rem; color: var(--color-muted); max-width: 30ch; }
.lm-win-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; margin-top: 0.4rem; }
6 changes: 5 additions & 1 deletion games/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Focus Games | RMKR Toolkit</title>
<meta name="description" content="Simple browser focus games — memory, sequence, number slide, word scramble, reaction tap, tap order, color clash, odd one out, higher or lower, quick math, find-the-number, pop light, sum pair, missing number, even or odd, count the dots, middle arrow, same as last, light recall, go stop, turned or flipped, spot the change, more dots, glow grid, echo path, number forge, and circuit link. No accounts, works offline after load.">
<meta name="description" content="Simple browser focus games — memory, sequence, number slide, word scramble, reaction tap, tap order, color clash, odd one out, higher or lower, quick math, find-the-number, pop light, sum pair, missing number, even or odd, count the dots, middle arrow, same as last, light recall, go stop, turned or flipped, spot the change, more dots, glow grid, echo path, number forge, circuit link, and lumen. No accounts, works offline after load.">
<link rel="icon" type="image/svg+xml" href="../assets/favicon.svg">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;900&display=swap" rel="stylesheet">
Expand Down Expand Up @@ -125,6 +125,10 @@ <h3>Number Forge</h3>
<h3>Circuit Link</h3>
<p>Turn wire tiles until every lamp is wired back to the gold core. A 12-circuit Journey, a 3-minute Blitz, and a Daily board.</p>
</a>
<a class="tool-card ai-card-accent" href="lumen/">
<h3>Lumen</h3>
<p>Drag and turn mirrors and splitters to steer red, green and blue lasers into every target. 19 handcrafted levels over 4 tiers, with stars per level.</p>
</a>
</div>

<h2 class="section-title">How it works</h2>
Expand Down
Loading
Loading