Skip to content

Commit abf8737

Browse files
author
DavidQ
committed
Polish real gameplay sample into a complete mini-game with UI, feedback, and full game loop.
PR: BUILD_PR_LEVEL_17_40_SAMPLE_1710_REAL_GAMEPLAY_POLISH
1 parent c48a823 commit abf8737

8 files changed

Lines changed: 298 additions & 52 deletions

docs/dev/CODEX_COMMANDS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
MODEL: GPT-5.3-codex
22
REASONING: high
3-
COMMAND: Create Sample 1709 Movement Models Lab using existing engine systems only. Demonstrate direct x/y movement, rotation/tank controls, and optionally weighted movement if already supportable. Add camera follow, visible mode labels, register the sample in samples/index.html, and package the repo-structured result to <project folder>/tmp/BUILD_PR_LEVEL_17_39_SAMPLE_1709_MOVEMENT_MODELS_LAB.zip
3+
COMMAND: Polish Sample 1708 into a complete mini-game with feedback, UI, and full game loop using existing systems only, then package to <project folder>/tmp/BUILD_PR_LEVEL_17_40_SAMPLE_1710_REAL_GAMEPLAY_POLISH.zip

docs/dev/COMMIT_COMMENT.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
Add Sample 1709 Movement Models Lab to compare direct movement, tank controls, and optional weighted movement with camera follow and visible mode labels.
1+
Polish real gameplay sample into a complete mini-game with UI, feedback, and full game loop.
22

3-
PR: BUILD_PR_LEVEL_17_39_SAMPLE_1709_MOVEMENT_MODELS_LAB
3+
PR: BUILD_PR_LEVEL_17_40_SAMPLE_1710_REAL_GAMEPLAY_POLISH
Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
- [ ] sample loads from samples/index.html
2-
- [ ] direct x/y movement works
3-
- [ ] tank/rotation movement works
4-
- [ ] optional weighted movement works if implemented
5-
- [ ] camera follows correctly in all active modes
6-
- [ ] active mode label/instructions visible
1+
- [ ] game loop complete
2+
- [ ] score visible
3+
- [ ] restart works
4+
- [ ] debug panels intact
75
- [ ] no console errors
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# BUILD_PR_LEVEL_17_40_SAMPLE_1710_REAL_GAMEPLAY_POLISH
2+
3+
## Purpose
4+
Polish Sample `1708` into a complete mini-game experience using existing systems only.
5+
6+
## Source of Truth
7+
- `docs/pr/PLAN_PR_LEVEL_17_40_SAMPLE_1710_REAL_GAMEPLAY_POLISH.md`
8+
- existing sample implementation in `samples/phase-17/1708/`
9+
10+
## Exact Build Target
11+
1. Polish `samples/phase-17/1708/RealGameplayMiniGameScene.js` with:
12+
- stronger visual feedback for player events (hit/collect/match state)
13+
- complete state flow (`ready` -> `running` -> `won|lost`)
14+
- restart path and clear instructions
15+
- improved HUD/readability while preserving existing controls
16+
2. Keep standard 3D debug camera/collision panel integration working.
17+
3. Update targeted runtime validation to verify the full loop and debug-panel output.
18+
19+
## Constraints
20+
- use existing engine systems only
21+
- no engine-core changes
22+
- keep scope to sample `1708` polish and targeted validation only
23+
24+
## Validation
25+
- polished sample state flow is testable end-to-end
26+
- debug panels still emit visible lines
27+
- no runtime errors in targeted test execution
28+
29+
## Packaging Rule
30+
Package only this PR's created/modified files into:
31+
`tmp/BUILD_PR_LEVEL_17_40_SAMPLE_1710_REAL_GAMEPLAY_POLISH.zip`
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# PLAN_PR_LEVEL_17_40_SAMPLE_1710_REAL_GAMEPLAY_POLISH
2+
3+
## Purpose
4+
Polish Sample 1708 into a complete, presentable mini-game.
5+
6+
## Scope
7+
Enhance gameplay clarity, feedback, and completeness.
8+
9+
## Focus
10+
- visual polish
11+
- feedback systems
12+
- game loop completeness
13+
14+
## Out of Scope
15+
- new engine systems

0 commit comments

Comments
 (0)