Skip to content

Commit be8e4f8

Browse files
author
DavidQ
committed
BUILD_PR_GAMES_TEMPLATE_FROM_ASTEROIDS
Created games/_template from Asteroids structure. - Structure preserved - Game-specific assets removed - No source modification
1 parent 1590a4d commit be8e4f8

30 files changed

Lines changed: 111 additions & 112 deletions

games/_template/debug/.gitkeep

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+


games/_template/debug/asteroidsShowcaseDebug.js

Lines changed: 0 additions & 6 deletions
This file was deleted.
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
MODEL: GPT-5.3-codex
2+
REASONING: high
3+
4+
COMMAND:
5+
Execute BUILD_PR_GAMES_TEMPLATE_INDEX_CANVAS_FIX exactly.
6+
7+
- Modify ONLY games/_template/index.html
8+
- Draw text on canvas
9+
- No DOM text
10+
- No other files
11+
12+
Package to:
13+
<project folder>/tmp/BUILD_PR_GAMES_TEMPLATE_INDEX_CANVAS_FIX_delta.zip
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
BUILD_PR_GAMES_TEMPLATE_INDEX_CANVAS_FIX
2+
3+
Fixed template index to render message on canvas only.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Create APPLY_PR_GAMES_TEMPLATE_INDEX_CANVAS_FIX
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
[ ] Canvas renders
2+
[ ] Text drawn on canvas
3+
[ ] No DOM text
4+
[ ] No console errors
5+
Status: PENDING
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
# BUILD PR — Games Template Index Canvas Fix
2+
3+
## Purpose
4+
Fix games/_template/index.html to render required message on canvas.
5+
6+
## Scope (STRICT)
7+
- Modify ONLY:
8+
games/_template/index.html
9+
10+
## Required Behavior
11+
- Render a canvas
12+
- Draw text ON canvas:
13+
14+
Game Template
15+
Replace this entrypoint with your game-specific shell.
16+
17+
- No DOM text fallback
18+
- No game logic
19+
- No asset loading
20+
21+
## Explicit Non-Goals
22+
- DO NOT modify any other file
23+
- DO NOT add new files
24+
- DO NOT introduce engine usage
25+
- DO NOT load Asteroids or any game code
26+
27+
## Fail-Fast
28+
- If change requires more than index.html → STOP
29+
30+
## Acceptance Criteria
31+
- Canvas visible
32+
- Text drawn on canvas
33+
- No console errors
34+
- No game loop runs
35+
36+
## Validation
37+
1. Open games/_template/index.html
38+
2. Confirm canvas renders
39+
3. Confirm text appears on canvas
40+
4. Confirm no game behavior
41+
42+
## Output
43+
<project folder>/tmp/BUILD_PR_GAMES_TEMPLATE_INDEX_CANVAS_FIX_delta.zip

games/_template/entities/Asteroid.js

Lines changed: 0 additions & 6 deletions
This file was deleted.

games/_template/entities/Bullet.js

Lines changed: 0 additions & 6 deletions
This file was deleted.

games/_template/entities/Ship.js

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
 (0)