games: add Path Finder with rotatable arrow blocks

未关闭
#66 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
25/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
活跃

调研方向

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.

由索引模型根据 Issue 内容生成。

描述

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.

主要语言
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 摘要。