feat(classic-games): 新增 Mini Hashiwokakero 小游戏#845
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: ae05684790
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| { id: 4, r: 2, c: 2, need: 4 }, | ||
| { id: 5, r: 2, c: 4, need: 3 }, | ||
| { id: 6, r: 4, c: 0, need: 2 }, | ||
| { id: 7, r: 4, c: 2, need: 2 } |
There was a problem hiding this comment.
Fix the impossible bridge totals
With this target included, the needs sum to 21 (2+3+2+3+4+3+2+2). Each click only adds whole bridges between two islands, so the total number of used endpoints is always even; therefore islands.every(... usedCount === need) in solved() can never pass and the completion status is unreachable for every play-through. Please adjust one of the island targets or the puzzle layout so the total required endpoints is even and solvable.
Useful? React with 👍 / 👎.
Summary
project/classic-games/20260705-0845-hashiwokakero.htmlhashiwokakero/hashi在最近 PR 元数据中未出现;候选还包括 Sprouts、Latin Square、Word Ladder、Paper Soccer 等Validation
new Function(...)语法解析git diff --check -- project/classic-games/20260705-0845-hashiwokakero.html通过Audit
bash ~/.cursor/skills/git-commit/scripts/run-audit.shAUDIT_DIR=/tmp/git-commit-audit-20260705-084954-81316OVERALL_EXIT=0