Board editor to set up a position
Les mainteneurs répondent en général sous 1 jour
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Accessibilité débutants
- 61/100
- Type d'issue
- Fonctionnalité
- Clarté
- Plutôt claire
- Activité
- Active
- Stack technique
- javascript
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
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
- Langage dominant
- JavaScript
- Étoiles
- 4
- Forks
- 2
- Merge moyen
- 22 h 16 min
- PR mergées (30 j)
- 9
Préparer son environnement
- Aucun Dockerfile ni fichier Docker Compose
- Propose un modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de TMHSDigital/Static_Chess
-
enhancement help wanted severity: low
Difficulté 4/5 3-5 jours Accessibilité débutants 55/100
TMHSDigital/Static_Chess#184 ·
Les mainteneurs répondent en général sous 1 jour
-
enhancement help wanted severity: low
Difficulté 4/5 3-5 jours Accessibilité débutants 58/100
TMHSDigital/Static_Chess#182 ·
Les mainteneurs répondent en général sous 1 jour
-
help wanted severity: medium tech-debt
Difficulté 4/5 3-5 jours Accessibilité débutants 45/100
TMHSDigital/Static_Chess#173 ·
Les mainteneurs répondent en général sous 1 jour
-
severity: medium tech-debt
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 35/100
TMHSDigital/Static_Chess#171 ·
Les mainteneurs répondent en général sous 1 jour
-
help wanted performance severity: medium
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 38/100
TMHSDigital/Static_Chess#168 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
Toutes les issues de TMHSDigital/Static_Chess
Issues similaires
-
priority: low server testing
Difficulté 1/5 Moins d'une heure Accessibilité débutants 88/100
blamechris/chroxy#9277 ·
Les mainteneurs répondent en général sous 1 jour
-
[MCP]: page snapshots in .playwright-mcp/ are not git-ignored (.playwright-cli/ is, since #42318)Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 62/100
microsoft/playwright#44289 ·
Les mainteneurs répondent en général sous 1 jour
-
Bug
Difficulté 2/5 1-3 heures Accessibilité débutants 75/100
Ionaru/easy-markdown-editor#657 ·
-
[source] Camera Blocking StageOuverte
Difficulté 2/5 1-3 heures Accessibilité débutants 66/100
TMHSDigital/Free-Game-Dev-Assets#320 ·
Les mainteneurs répondent en général sous 1 jour
-
area:webapp bug finding
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
Les mainteneurs répondent en général sous 1 jour