games: add Key and Door for directed-maze planning

Offen
#67 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

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

Rechercherichtung

Start by reading the shared game lifecycle and the existing game implementations; the issue does not name specific files or tests. The work includes puzzle generation, stateful key and door rules, learning and timed modes, controls, and browser coverage. Done means the listed rule and generation tests pass, reachability checks account for key and door dependencies, and the browser test confirms collecting keys, exiting, and restarting resets inventory and timers.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

enhancement games help wanted

Part of #24. Depends on #58.

Student problem

Students need practice planning a route that satisfies collection and movement constraints before reaching an exit.

Scope

  • Present a grid maze with a start, required keys and an exit.
  • Define directed/one-way passages, blocked edges and locked doors explicitly. Exit success requires all stated keys.
  • Start with one key on a small board, then add a second key and larger boards at documented levels.
  • Generate or curate reachable puzzles by checking the full state of position, collected keys and unlocked doors.
  • Explain illegal moves and show a valid route in learning mode. Timed practice uses the shared lifecycle without showing the solution during a round.
  • Provide keyboard/directional controls, understandable symbols and free guest access.

Done when

  • Tests cover one-way movement, blocked/locked passages, key collection, premature exit, win conditions and deterministic generation.
  • Reachability validation accounts for key/door dependencies rather than checking each cell in isolation.
  • A browser test collects the required keys, exits and restarts without retaining inventory or timers.
Vorherrschende Sprache
TypeScript
Sterne
1
Forks
1
Ø Merge
8 Std. 58 Min.
Gemergte PRs (30 T.)
37

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus procoderji-com/procoderji

Alle Issues in procoderji-com/procoderji

Ähnliche Issues

Weitere Issues zu TypeScript

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.