Skip to content

feat(classic-games): 新增 Mini Killer Sudoku 小游戏#1242

Open
wyf027 wants to merge 1 commit into
mainfrom
codex/classic-game-20260718-0854-killer-sudoku-lite
Open

feat(classic-games): 新增 Mini Killer Sudoku 小游戏#1242
wyf027 wants to merge 1 commit into
mainfrom
codex/classic-game-20260718-0854-killer-sudoku-lite

Conversation

@wyf027

@wyf027 wyf027 commented Jul 18, 2026

Copy link
Copy Markdown
Owner

Summary

  • 新增单文件 HTML + TailwindCSS 小游戏:Mini Killer Sudoku
  • 文件路径:project/classic-games/20260718-0854-killer-sudoku-lite.html
  • 历史扫描显示 Killer Sudoku / killer-sudoku-lite 未使用;仓库已有普通 Sudoku,本次选择带笼和约束的经典变体并在文件名中明确区分

Validation

  • 确认文件存在并包含完整 HTML 结构、TailwindCSS CDN 与可运行游戏逻辑
  • 通过关键标记检查:resetGamecycleCelluseHintvaluesUniquecageReportpuzzleStatscellClassesrenderBoardrenderChecksrenderaddEventListener
  • 通过内联脚本语法检查:new Function(...)
  • 通过 git diff --check -- project/classic-games/20260718-0854-killer-sudoku-lite.html

Audit

  • 审计脚本:run-audit.sh
  • 结果:OVERALL_EXIT=0
  • WARN:无
  • AUDIT_DIR:/tmp/git-commit-audit-20260718-090647-93543

Commit

  • Local commit: 5571d989e0fe905572f75d6cdd49a31451190fd1
  • Remote commit: ba8d8d0d05ffc5daec9a6e9b0f4b55b676f10176

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: ba8d8d0d05

ℹ️ 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: "E", total: 5, cells: [[1, 3], [2, 3]] },
{ id: "F", total: 4, cells: [[2, 1], [3, 1]] },
{ id: "G", total: 6, cells: [[2, 2], [3, 2]] },
{ id: "H", total: 5, cells: [[3, 0], [3, 3]] },

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Keep Killer Sudoku cages contiguous

For the H cage, the two cells are (3,0) and (3,3), separated by cells from other cages; renderBoard only shows the cage total on the first cell and cellClasses only draws dashed links between adjacent cells. In this puzzle the bottom-right given 1 therefore has no visual link or total, so players cannot know it participates in the 5-sum cage from the displayed UI. Make this cage contiguous or display explicit cage labels for disconnected cells.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant