games: add Motion Challenge with sliding-block variants

未關閉
#62 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

維護者通常 1 天內回覆

還沒有人認領這個 Issue。

評估

難度
5/5
預估耗時
一週以上
新手友好度
32/100
Issue 類型
功能
描述清晰度
基本清楚
活躍度
活躍
領域
frontend, game-dev

研究方向

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.

由索引模型根據 Issue 內容生成。

描述

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.
主要語言
TypeScript
星號
1
分支
1
平均合併
8 小時 58 分鐘
30 天內合併 PR
37

環境準備

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

procoderji-com/procoderji 的其他 Issue

查看 procoderji-com/procoderji 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。