Neon Crates: play pasted levels in standard box-pushing notation
Mantenedores costumam responder em até 1 dia
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Facilidade para iniciantes
- 55/100
- Tipo de issue
- Funcionalidade
- Clareza
- Razoavelmente clara
- Status de atividade
- Ativa
- Stack de tecnologia
- typescript
- Domínio
- game-dev
Direção de pesquisa
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.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
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
- Linguagem predominante
- TypeScript
- Estrelas
- 3
- Forks
- 3
- Merge médio
- 10h 22min
- PRs com merge (30d)
- 6
Preparar o ambiente
Este projeto não oferece contêiner de desenvolvimento, Dockerfile nem guia de contribuição, então a configuração fica por sua conta: comece pelo README e veja nosso guia da primeira contribuição para os passos gerais.
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de TMHSDigital/GH-Arcade
-
good first issue performance severity: low
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 72/100
TMHSDigital/GH-Arcade#141 ·
Mantenedores costumam responder em até 1 dia
-
enhancement help wanted severity: medium
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 56/100
TMHSDigital/GH-Arcade#127 ·
Mantenedores costumam responder em até 1 dia
-
enhancement help wanted severity: medium
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 48/100
TMHSDigital/GH-Arcade#126 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
accessibility enhancement severity: low
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 40/100
TMHSDigital/GH-Arcade#114 ·
Mantenedores costumam responder em até 1 dia
-
enhancement severity: low
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 35/100
TMHSDigital/GH-Arcade#113 ·
Mantenedores costumam responder em até 1 dia
Todas as issues de TMHSDigital/GH-Arcade
Issues semelhantes
-
clawsweeper:needs-maintainer-review clawsweeper:needs-product-decision clawsweeper:no-new-fix-pr clawsweeper:source-repro impact:ux-friction issue-rating: 🦞 diamond lobster P3
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 76/100
openclaw/openclaw#203385 · 1 comentário · 1 reação ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
nwverse/persona#12800 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 80/100
Mantenedores costumam responder em até 1 dia
-
[MCP]: page snapshots in .playwright-mcp/ are not git-ignored (.playwright-cli/ is, since #42318)Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 62/100
microsoft/playwright#44289 ·
Mantenedores costumam responder em até 1 dia
-
good first issue
Dificuldade 2/5 Meio dia Facilidade para iniciantes 65/100
Mantenedores costumam responder em até 1 dia