games: add a shared catalogue and session lifecycle
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Anfängerfreundlichkeit
- 35/100
- Issue-Typ
- Feature
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Aktiv
- Tech-Stack
- next.js, react, typescript
- Bereich
- frontend, full-stack, testing
Rechercherichtung
Start by reading the existing Pattern Sprint and Digit Recall implementations under src/app/games/, then inspect the related work in #24. Map their routes and behavior against the proposed src/features/games/ boundary and identify the relevant checks for lifecycle, deterministic generation, and keyboard and mobile use. Done means both games use the shared catalogue and lifecycle, retain their URLs and behavior, and have the contributor guide and coverage described in the issue.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
Part of #24. Build this before the new game implementations.
Student problem
Every placement game needs clear instructions, predictable controls, timing and useful results. Separate implementations make the experience inconsistent and make new games harder to contribute.
Scope
- Add a documented
src/features/games/boundary: pure rules and generators separate from React, browser storage, authentication and payments. Keepsrc/app/games/routes thin. - Define a typed catalogue with stable game ID, skill, original instructions, difficulty options, supported modes and rules version.
- Share the lifecycle: instructions, running, feedback/results and restart. Define a result contract for history and mixed sessions; scoring remains explicit per game.
- Support untimed learning and clearly labelled timed practice where appropriate. Start only after an explicit action; use an injected clock/random source and document deadline/background-tab behavior.
- Move Pattern Sprint and Digit Recall onto these boundaries, preserving their URLs and existing behavior.
- Keep practice free, available without login or backend configuration, usable by keyboard and touch, and respectful of reduced motion. Do not rely on color alone.
- Use original code, puzzle content and assets. State that exercises are independent practice rather than official employer assessments.
Done when
- Tests cover start, completion, timeout, restart, duplicate input and deterministic generation.
- Browser checks complete both existing games on desktop/mobile and exercise keyboard controls.
- A contributor guide explains how to register a game, define its rules/scoring and run relevant checks.
Saved history, cloud synchronization, billing and leaderboards are separate work.
- Vorherrschende Sprache
- TypeScript
- Sterne
- 1
- Forks
- 1
- Ø Merge
- 8 Std. 58 Min.
- Gemergte PRs (30 T.)
- 37
Entwicklungsumgebung
- Enthält ein Dockerfile oder eine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus procoderji-com/procoderji
-
area:frontend bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 62/100
procoderji-com/procoderji#104 ·
Maintainer antworten meist innerhalb von 1 Tag
-
enhancement good first issue
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 88/100
procoderji-com/procoderji#36 ·
Maintainer antworten meist innerhalb von 1 Tag
-
enhancement good first issue
Schwierigkeit 1/5 1-3 Stunden Anfängerfreundlichkeit 85/100
procoderji-com/procoderji#35 ·
Maintainer antworten meist innerhalb von 1 Tag
-
enhancement good first issue
Schwierigkeit 1/5 1-3 Stunden Anfängerfreundlichkeit 79/100
procoderji-com/procoderji#34 ·
Maintainer antworten meist innerhalb von 1 Tag
-
enhancement good first issue
Schwierigkeit 1/5 1-3 Stunden Anfängerfreundlichkeit 90/100
procoderji-com/procoderji#33 ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in procoderji-com/procoderji
Ähnliche Issues
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
Maintainer antworten meist innerhalb von 1 Tag
-
bug platform-android
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
Termix-SSH/Mobile#146 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 2 Tagen
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 66/100
devswha/herdr-web-ui#3875 ·
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 88/100
-
area: runtime chore cli consistency dependencies developer-experience difficulty: easy discovery documentation enhancement good first issue help wanted hygiene json-output packaging priority: P3 tests version
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
Maintainer antworten meist innerhalb von 1 Tag