games: add Motion Challenge with sliding-block variants

Aperta
#62 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
32/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
next.js, react, typescript
Ambito
frontend, game-dev

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.
Lingua principale
TypeScript
Stelle
1
Fork
1
Merge medio
8h 58m
PR unite (30g)
37

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di procoderji-com/procoderji

Tutte le issue di procoderji-com/procoderji

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.