games: add Path Finder with rotatable arrow blocks

Aperta
#66 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
25/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
next.js, react, typescript

Direzione di ricerca

Read the existing game implementation and the related issues #24 and #58 first; the payload names no files or test locations. Map the board controls, route tracing, puzzle generation and learning or timed modes, then define tests for rotation, tracing, generated solutions and keyboard play. Done means the listed tests pass and a browser test can solve, submit once and restart a small board.

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 practice predicting how local rotations change a route through a larger board.

Scope

  • Divide an arrow board into rotatable blocks, beginning with one 3×3 block and adding larger arrangements.
  • Define controls to rotate a block's cell positions and, in a separate documented operation, rotate arrow directions inside it.
  • Trace from a stated entry to the required exit. Detect loops, empty cells, out-of-bounds paths and incorrect exits.
  • Generate boards from verified solutions and scramble only through reversible legal controls, so the visible controls can solve every puzzle.
  • Offer a route explanation/hint in learning mode and shared timed practice.
  • Provide keyboard controls and text/directional cues; keep free guest access.

Done when

  • Tests verify coordinate/direction rotation, inverse operations, tracing termination and invalid-route detection.
  • Generated boards have a checked solution reachable through the allowed controls.
  • A browser test solves a small board using keyboard controls, submits once and restarts.

Do not describe an arrow-route puzzle as a pathfinding algorithm tutorial unless that teaching content is included.

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.