Docs say Undo reopens a timed-out game; ROADMAP line count is stale
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 1/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 90/100
- Issue 类型
- 文档
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- javascript
调研方向
阅读 README.md、CHANGELOG.md、docs/ARCHITECTURE.md 和 docs/ROADMAP.md 中列出的段落,然后将它们与 js/game.js 中引用的撤销行为进行比较。更新限时游戏的措辞,并删除过时的 game.js 行数;运行 npm run format 检查格式。
由索引模型根据 Issue 内容生成。
描述
Summary
Two small inaccuracies remain in the docs. Everything else in README, ARCHITECTURE, RELEASE, CONTRIBUTING and releases/README was checked against the code and matches.
Checklist
- Undo after a resignation, an agreed draw or a timeout.
docs/ARCHITECTURE.md:305lists "a loss on time" among the endingsendGameWithoutMove()handles, and:308says "Undo reopens a game ended this way".README.md:185andCHANGELOG.md:22say the same about resignations and agreed draws, with no exception. In the code,undoLastMove()starts withif (clock) return;(js/game.js:708), and the button is disabled withcanUndo: !clock && ...(js/game.js:1380). A loss on time always has a clock, so it can never be reopened, and neither can a resignation in a timed game.ARCHITECTURE.md:241("Undo is off in a timed game") already contradicts line 308.- Fix: ARCHITECTURE.md:308: "...except in a timed game, where Undo is off, so a loss on time is final". Add "(not in a timed game)" at README.md:185 and CHANGELOG.md:22.
- game.js size.
docs/ROADMAP.md:103says game.js has "about 1,550 lines". It has 1,656. Drop the number so it does not go stale again.
Getting started
- Relevant files:
README.md,CHANGELOG.md,docs/ARCHITECTURE.md,docs/ROADMAP.md - Check formatting with
npm run format
Filed by repo-audit/full-audit at 73cd279. Severity: low. Effort: S. audit-key: documentation|docs/ARCHITECTURE.md|endGameWithoutMove
- 主要语言
- JavaScript
- 星标
- 4
- 派生
- 2
- 平均合并
- 6 小时 13 分钟
- 30 天内合并 PR
- 4
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
TMHSDigital/Static_Chess 的其他 Issue
-
enhancement good first issue severity: low
难度 2/5 1-3 小时 新手友好度 78/100
TMHSDigital/Static_Chess#163 ·
维护者通常 1 天内回复
-
good first issue performance severity: low
难度 2/5 1-3 小时 新手友好度 86/100
TMHSDigital/Static_Chess#157 ·
维护者通常 1 天内回复
-
good first issue reliability severity: low
难度 2/5 1-3 小时 新手友好度 88/100
TMHSDigital/Static_Chess#150 ·
维护者通常 1 天内回复
-
bug good first issue severity: low
难度 2/5 1-3 小时 新手友好度 84/100
TMHSDigital/Static_Chess#148 ·
维护者通常 1 天内回复
-
bug good first issue severity: low
难度 2/5 1-3 小时 新手友好度 90/100
TMHSDigital/Static_Chess#145 ·
维护者通常 1 天内回复
查看 TMHSDigital/Static_Chess 的全部 Issue
相似的 Issue
-
marketing
难度 2/5 1-3 小时 新手友好度 76/100
维护者通常 1 天内回复
-
enhancement good first issue help wanted
难度 2/5 1-3 小时 新手友好度 88/100
-
[Bug] Account menu (footer ⚙) doesn't dismiss on outside click — stays open and covers the Bot list未关闭
难度 2/5 1-3 小时 新手友好度 82/100
Fei2411/DeepSeek-Bot#1693 ·
-
area-templates triage:bot-seen triage:needs-human
难度 2/5 1-3 小时 新手友好度 75/100
microsoft/aspire#22356 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
HarperFast/skills#153 ·