Add a second Neon Pinball table
維護者通常 1 天內回覆
還沒有人認領這個 Issue。
評估
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 新手友好度
- 52/100
- Issue 類型
- 功能
- 描述清晰度
- 基本清楚
- 活躍度
- 活躍
- 技術堆疊
- typescript
- 領域
- game-dev
研究方向
Start with games/pinball/table.ts, where the table data is exported as module-level constants, and with games/maze/maze.ts (LAYOUTS and useLayout) as the pattern to copy. Group the exports into a Table object and export TABLES, then have games/pinball/scenes/GameScene.ts read the active table. Extend games/pinball/table.test.ts to check every table, and run npm test. Done means the menu offers at least two tables, the tests pass, and the README roadmap is updated. The collision code overlaps with #86, so check with that work first.
由索引模型根據 Issue 內容生成。
描述
Summary
Add a second Neon Pinball table, the way Neon Maze just gained a second layout.
Where
README.md:373(roadmap: "More pinball tables")games/pinball/table.ts:35-86(one set of module-level exports:WALLS,SLINGS,FLIPPER_PIVOTS,BUMPERS,POSTS,LANES,TARGETS,STANDUPS)games/maze/maze.ts:62-77(LAYOUTSanduseLayout(index), from #85)
Details
Pinball is the one game whose content never changes between runs. Maze solved the same problem with a LAYOUTS list.
Proposal
Group the exports into a Table object, export TABLES: Table[], and have the scene take the active table from its init data or a menu mode (for example CLASSIC and a new name). Extend the existing table invariant tests to every table. Keeping one high score and letting the menu choose is simplest; per-table scores are an open question. The collision code in the scene is part of #86, so coordinate with it.
Who benefits
Pinball players looking for variety without new mechanics.
Acceptance criteria
- The menu offers at least two tables.
-
games/pinball/table.test.tschecks invariants for every table. - README roadmap updated.
Getting started
- Relevant files:
games/pinball/table.ts,games/pinball/table.test.ts,games/pinball/scenes/GameScene.ts,games/maze/maze.ts(pattern) - How to run tests:
npm test - Related: #85, #86
Filed by repo-audit/full-audit at de2b25b. Severity: medium. Effort: L. audit-key: enhancement|games/pinball/table.ts|tables
- 主要語言
- TypeScript
- 星號
- 3
- 分支
- 3
- 平均合併
- 10 小時 22 分鐘
- 30 天內合併 PR
- 6
環境準備
這個專案沒有提供開發容器、Dockerfile 或貢獻指南,環境需要你自己搭建:先看它的 README,通用步驟見我們的新手貢獻指南。
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
TMHSDigital/GH-Arcade 的其他 Issue
-
good first issue performance severity: low
難度 3/5 1-2 天 新手友好度 72/100
TMHSDigital/GH-Arcade#141 ·
維護者通常 1 天內回覆
-
enhancement help wanted severity: low
難度 4/5 3-5 天 新手友好度 55/100
TMHSDigital/GH-Arcade#139 ·
維護者通常 1 天內回覆
-
enhancement help wanted severity: medium
難度 4/5 3-5 天 新手友好度 56/100
TMHSDigital/GH-Arcade#127 ·
維護者通常 1 天內回覆
-
enhancement help wanted severity: medium
難度 4/5 3-5 天 新手友好度 48/100
TMHSDigital/GH-Arcade#126 · 1 則留言 ·
維護者通常 1 天內回覆
-
accessibility enhancement severity: low
難度 4/5 3-5 天 新手友好度 40/100
TMHSDigital/GH-Arcade#114 ·
維護者通常 1 天內回覆
查看 TMHSDigital/GH-Arcade 的全部 Issue
相似的 Issue
-
clawsweeper:needs-maintainer-review clawsweeper:needs-product-decision clawsweeper:no-new-fix-pr clawsweeper:source-repro impact:ux-friction issue-rating: 🦞 diamond lobster P3
難度 2/5 1-3 小時 新手友好度 76/100
openclaw/openclaw#203385 · 1 則留言 · 1 個 reaction ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 72/100
nwverse/persona#12800 · 1 則留言 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 80/100
維護者通常 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 天內回覆
-
good first issue
難度 2/5 半天 新手友好度 65/100
維護者通常 1 天內回覆