Gameplay: add brick destruction score feedback #1

Closed
opened 4 weeks ago by laidaixi · 2 comments
Owner

Goal

Improve gameplay feedback without touching UI files.

Scope

Add lightweight gameplay feedback in src/game.js only:

  • Award a small score bonus when the player destroys a brick wall with a bullet.
  • Add a short particle burst color distinction for destroyed brick walls vs steel hits.
  • Keep existing controls and win/loss logic intact.

Files allowed

  • src/game.js

Files forbidden

  • index.html
  • src/styles.css
  • Git/config files

Acceptance checks

  • Player bullet destroying a brick wall increments score by a small amount.
  • Steel wall hit does not change score.
  • Enemy destruction scoring still works.
  • No UI file is modified.

Handoff notes

  • Agent: zcode
  • Branch: agent/zcode/gameplay-issue-N
  • Integration owner: codex
## Goal Improve gameplay feedback without touching UI files. ## Scope Add lightweight gameplay feedback in `src/game.js` only: - Award a small score bonus when the player destroys a brick wall with a bullet. - Add a short particle burst color distinction for destroyed brick walls vs steel hits. - Keep existing controls and win/loss logic intact. ## Files allowed - `src/game.js` ## Files forbidden - `index.html` - `src/styles.css` - Git/config files ## Acceptance checks - [ ] Player bullet destroying a brick wall increments score by a small amount. - [ ] Steel wall hit does not change score. - [ ] Enemy destruction scoring still works. - [ ] No UI file is modified. ## Handoff notes - Agent: zcode - Branch: agent/zcode/gameplay-issue-N - Integration owner: codex
laidaixi added the status:todo agent:zcode area:gameplay labels 4 weeks ago
laidaixi added status:doing and removed status:todo labels 4 weeks ago
Poster
Owner

Codex orchestrator: assigning to ZCode in branch agent/zcode/gameplay-issue-1.

Codex orchestrator: assigning to ZCode in branch agent/zcode/gameplay-issue-1.
laidaixi added status:review and removed status:doing labels 4 weeks ago
laidaixi closed this issue 4 weeks ago
Poster
Owner

Codex orchestrator: merged via PR #3 into main and verified on local main.

Codex orchestrator: merged via PR #3 into main and verified on local main.
laidaixi added status:done and removed status:review labels 4 weeks ago
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: laidaixi/tank-battle#1
Loading…
There is no content yet.