Neon Golf: add hot-seat stroke play for 2 to 4 players
維護者通常 1 天內回覆
還沒有人認領這個 Issue。
評估
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 新手友好度
- 56/100
- Issue 類型
- 功能
- 描述清晰度
- 基本清楚
- 活躍度
- 活躍
- 技術堆疊
- typescript
研究方向
Read games/golf/scenes/MenuScene.ts, games/golf/scenes/GameScene.ts, and games/golf/scoring.ts, then compare the multiplayer flow in games/tanks/scenes/MenuScene.ts and shared/scenes.ts. Run npm test and review games/golf/scoring.test.ts; done means the menu offers 2 to 4 players, each player's score is summarized, tee order is covered, and a completed round shows a winner.
由索引模型根據 Issue 內容生成。
描述
Summary
Neon Golf is solo only. Mini golf is the classic pass-the-device game, and its turn-based shot loop needs no simultaneous input, so it suits hot-seat stroke play for 2 to 4 players.
Where
games/golf/scenes/MenuScene.ts:23-28: nomodesgames/golf/scenes/GameScene.ts:111-118:init()takes no data; onecard: number[]games/golf/scoring.ts:63, 83:scorecardLinesandsummarizework on one playergames/tanks/scenes/MenuScene.ts:42-46andshared/scenes.ts:187(showMatchResult): the existing pattern for a 2-player mode
Proposal
- Add menu modes 1 to 4 PLAYERS, with
data: { players: n }. - Keep a card per player and alternate players on each hole, with each holing out before the next tees off.
- Color the ball per player, and show one scorecard row per player.
- End multi-player rounds with
showMatchResult, which records a play but skips the solo best, as Tanks does.
Who benefits
Two or more people sharing one phone or tablet. Today they have to play separate full rounds and compare totals.
Open questions
- Tee order: fixed order, or lowest score so far tees first?
- Tie-break rule.
- Related to #113 (alternating whole runs), but golf wants alternation per hole and a shared scorecard.
Acceptance criteria
- Menu offers 2 to 4 players. The scorecard shows every player and the round ends with a winner.
-
games/golf/scoring.test.tscovers the per-player summary and the tee-order rule.
Getting started
- Relevant files:
games/golf/scenes/*,games/golf/scoring.ts - How to run tests:
npm test
Filed by repo-audit/full-audit at a93de2e. Severity: medium. Effort: M. audit-key: enhancement|games/golf/scenes/GameScene.ts|hot-seat
- 主要語言
- 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 天 新手友好度 48/100
TMHSDigital/GH-Arcade#126 · 1 則留言 ·
維護者通常 1 天內回覆
-
accessibility enhancement severity: low
難度 4/5 3-5 天 新手友好度 40/100
TMHSDigital/GH-Arcade#114 ·
維護者通常 1 天內回覆
-
enhancement severity: low
難度 4/5 3-5 天 新手友好度 35/100
TMHSDigital/GH-Arcade#113 ·
維護者通常 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 天內回覆