Board editor to set up a position
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 61/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- javascript
调研方向
Start with the Load dialog in index.html and read js/board.js, js/game-ui.js, and js/notation.js to trace board interaction and the existing FEN import path. Run npm ci && npm test before making changes. Done when keyboard and pointer input can build a position, and starting a game matches importing the same FEN, including the existing error for illegal positions.
由索引模型根据 Issue 内容生成。
描述
Summary
The only way to start from a custom position is to paste FEN into the Load dialog. Most casual players cannot write FEN by hand.
Where
index.html:263-293(Load dialog; FEN is the only setup route)js/notation.js,js/rules.js(FEN reading and legality checks already exist)
Proposal
Add a "Set up position" mode: a piece palette, click or drag to place and remove pieces, side-to-move and castling toggles. It produces a FEN and hands it to the existing FEN import, so the existing legality checks (both kings present, side not to move not in check, and so on) apply unchanged.
Who benefits
Players studying endgames, setting puzzles, or recreating a position from a book or another game.
Open questions
- Keyboard model for placing pieces (reuse the board's arrow-key navigation plus a piece picker).
Acceptance criteria
- A position built in the editor starts a game exactly as the same FEN pasted into Load does
- Illegal setups show the existing import error
- Usable by keyboard
Getting started
- Relevant files:
index.html,js/board.js,js/game-ui.js,js/notation.js - How to run tests:
npm ci && npm test
Filed by repo-audit/full-audit at 73cd279. Severity: low. Effort: M. audit-key: enhancement|index.html|position-editor
- 主要语言
- JavaScript
- 星标
- 4
- 派生
- 2
- 平均合并
- 22 小时 16 分钟
- 30 天内合并 PR
- 9
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
TMHSDigital/Static_Chess 的其他 Issue
-
enhancement help wanted severity: low
难度 4/5 3-5 天 新手友好度 55/100
TMHSDigital/Static_Chess#184 ·
维护者通常 1 天内回复
-
enhancement help wanted severity: low
难度 4/5 3-5 天 新手友好度 58/100
TMHSDigital/Static_Chess#182 ·
维护者通常 1 天内回复
-
help wanted severity: medium tech-debt
难度 4/5 3-5 天 新手友好度 45/100
TMHSDigital/Static_Chess#173 ·
维护者通常 1 天内回复
-
severity: medium tech-debt
难度 5/5 一周以上 新手友好度 35/100
TMHSDigital/Static_Chess#171 ·
维护者通常 1 天内回复
-
help wanted performance severity: medium
难度 5/5 一周以上 新手友好度 38/100
TMHSDigital/Static_Chess#168 · 1 条评论 ·
维护者通常 1 天内回复
查看 TMHSDigital/Static_Chess 的全部 Issue
相似的 Issue
-
priority: low server testing
难度 1/5 1 小时以内 新手友好度 88/100
blamechris/chroxy#9277 ·
维护者通常 1 天内回复
-
[MCP]: page snapshots in .playwright-mcp/ are not git-ignored (.playwright-cli/ is, since #42318)未关闭
难度 2/5 1-3 小时 新手友好度 62/100
microsoft/playwright#44289 ·
维护者通常 1 天内回复
-
Bug
难度 2/5 1-3 小时 新手友好度 75/100
Ionaru/easy-markdown-editor#657 ·
-
难度 2/5 1-3 小时 新手友好度 66/100
TMHSDigital/Free-Game-Dev-Assets#320 ·
维护者通常 1 天内回复
-
area:webapp bug finding
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复