games: add Motion Challenge with sliding-block variants

Offen
#62 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
32/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Bereich
frontend, game-dev

Rechercherichtung

Start by reading the implementation and tests for the shared game lifecycle and results, then inspect the work tracked in #24 and the prerequisite in #58. Define and verify board solutions, including the advanced variants and any advertised move counts; completion means the listed movement, keyboard, learning-mode, restart, and browser checks pass.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

enhancement games help wanted

Part of #24. Depends on #58.

Student problem

Students need spatial-planning practice that rewards understanding legal moves and finding a route to an exit.

Scope

  • Build a grid with movable rectangular pieces, fixed obstacles, a target piece and a designated exit.
  • Allow cardinal sliding only when every occupied cell remains in bounds and avoids other pieces/obstacles.
  • Start with freely movable pieces; add an advanced variant with horizontal/vertical restrictions and a documented target move count.
  • Generate or curate demonstrably solvable boards. Define precisely what counts as one move.
  • Offer selectable pieces and keyboard/directional controls as an alternative to dragging.
  • In learning mode, explain a legal solution and offer a hint without presenting an unproven minimum as optimal.
  • Use the shared lifecycle/results, original boards and free guest access.

Done when

  • Tests cover footprint collisions, bounds, axis restrictions, blocked movement, reaching the exit and move counting.
  • Every shipped/generated board has a verified solution; any advertised minimum is solver-verified.
  • Browser checks solve a board using keyboard controls and restart both variants.
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.