Neon Crates: play pasted levels in standard box-pushing notation
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 55/100
- Issue-Typ
- Feature
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Aktiv
- Tech-Stack
- typescript
- Bereich
- game-dev
Rechercherichtung
Read games/crates/rules.ts lines 45–69 to understand parseLevel, then trace level selection in games/crates/scenes/SelectScene.ts and progress handling in games/crates/progress.ts. Check how existing tests are organized before running npm test. Done means valid pasted levels can be played, invalid input explains why it was rejected, and tests cover board-size and crate/target checks.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
Summary
Neon Crates ships 15 levels, and its level parser already reads the standard box-pushing text notation. Letting players paste a level in that notation would give them something to play after level 15.
Where
games/crates/rules.ts:45-69(parseLevel): accepts# . $ * @ + space -, and throws on anything else or a missing or doubled robotgames/crates/levels.ts:3-8,games/crates/scenes/SelectScene.tsgames/crates/progress.ts:33-43: progress is keyed by level name
Proposal
- Add a CUSTOM entry to the select screen that takes pasted text, through a textarea overlay or a clipboard read on a user gesture.
- Parse the text with
parseLevel, and reject levels over the board size limit or with unequal crate and target counts. - Play custom levels without trophies, and keep their bests under a separate key validated like
cleanProgress. - Treat the text as outside input: cap its length, and never render it as HTML.
Who benefits
Players who finish all 15 levels. Large free collections exist in exactly this notation.
Open questions
- How should multi-level collections be handled (blank-line separated, with
;titles)? - Is clipboard read acceptable on iOS, or is a textarea needed?
Acceptance criteria
- Pasting a valid level plays it, and pasting an invalid one shows why it was rejected.
- Tests cover the size and crate/target checks.
Getting started
- Relevant files:
games/crates/rules.ts,games/crates/scenes/SelectScene.ts,games/crates/progress.ts - How to run tests:
npm test
Filed by repo-audit/full-audit at a93de2e. Severity: low. Effort: M. audit-key: enhancement|games/crates/rules.ts|custom-levels
- Vorherrschende Sprache
- TypeScript
- Sterne
- 3
- Forks
- 3
- Ø Merge
- 10 Std. 22 Min.
- Gemergte PRs (30 T.)
- 6
Entwicklungsumgebung
Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus TMHSDigital/GH-Arcade
-
good first issue performance severity: low
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 72/100
TMHSDigital/GH-Arcade#141 ·
Maintainer antworten meist innerhalb von 1 Tag
-
enhancement help wanted severity: medium
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 56/100
TMHSDigital/GH-Arcade#127 ·
Maintainer antworten meist innerhalb von 1 Tag
-
enhancement help wanted severity: medium
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 48/100
TMHSDigital/GH-Arcade#126 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
accessibility enhancement severity: low
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 40/100
TMHSDigital/GH-Arcade#114 ·
Maintainer antworten meist innerhalb von 1 Tag
-
enhancement severity: low
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 35/100
TMHSDigital/GH-Arcade#113 ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in TMHSDigital/GH-Arcade
Ähnliche Issues
-
clawsweeper:needs-maintainer-review clawsweeper:needs-product-decision clawsweeper:no-new-fix-pr clawsweeper:source-repro impact:ux-friction issue-rating: 🦞 diamond lobster P3
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
openclaw/openclaw#203385 · 1 Kommentar · 1 Reaktion ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
nwverse/persona#12800 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 80/100
Maintainer antworten meist innerhalb von 1 Tag
-
[MCP]: page snapshots in .playwright-mcp/ are not git-ignored (.playwright-cli/ is, since #42318)Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 62/100
microsoft/playwright#44289 ·
Maintainer antworten meist innerhalb von 1 Tag
-
good first issue
Schwierigkeit 2/5 Ein halber Tag Anfängerfreundlichkeit 65/100
Maintainer antworten meist innerhalb von 1 Tag