|
| 1 | +# BUILD PR — Asteroids New Parallel Burst Alpha |
| 2 | + |
| 3 | +## Purpose |
| 4 | +Accelerate completion of `games/asteroids_new` with one larger exact-file, non-destructive burst. |
| 5 | +This PR intentionally combines multiple compatible slices into one Codex run so progress is materially faster. |
| 6 | + |
| 7 | +## Exact Target Files |
| 8 | + |
| 9 | +### Source files (copy from original Asteroids only) |
| 10 | +- `games/Asteroids/game/AsteroidsWorld.js` |
| 11 | +- `games/Asteroids/debug/asteroidsShowcaseDebug.js` |
| 12 | +- `games/Asteroids/entities/Bullet.js` |
| 13 | +- `games/Asteroids/entities/Ship.js` |
| 14 | + |
| 15 | +### Destination / touched files |
| 16 | +- `games/asteroids_new/index.js` |
| 17 | +- `games/asteroids_new/flow/attract.js` |
| 18 | +- `games/asteroids_new/flow/intro.js` |
| 19 | +- `games/asteroids_new/game/AsteroidsWorld.js` |
| 20 | +- `games/asteroids_new/debug/asteroidsShowcaseDebug.js` |
| 21 | +- `games/asteroids_new/entities/Bullet.js` |
| 22 | +- `games/asteroids_new/entities/Ship.js` |
| 23 | + |
| 24 | +## Required Code Changes |
| 25 | +1. Copy these exact source files into the parallel lane: |
| 26 | + - `games/Asteroids/game/AsteroidsWorld.js` -> `games/asteroids_new/game/AsteroidsWorld.js` |
| 27 | + - `games/Asteroids/debug/asteroidsShowcaseDebug.js` -> `games/asteroids_new/debug/asteroidsShowcaseDebug.js` |
| 28 | + - `games/Asteroids/entities/Bullet.js` -> `games/asteroids_new/entities/Bullet.js` |
| 29 | + - `games/Asteroids/entities/Ship.js` -> `games/asteroids_new/entities/Ship.js` |
| 30 | + |
| 31 | +2. Update only these existing parallel-lane files as needed: |
| 32 | + - `games/asteroids_new/index.js` |
| 33 | + - `games/asteroids_new/flow/attract.js` |
| 34 | + - `games/asteroids_new/flow/intro.js` |
| 35 | + |
| 36 | +3. In the destination parallel files listed above, make only the minimum import/path fixes required so the copied files parse and resolve together inside `games/asteroids_new`. |
| 37 | + |
| 38 | +## Hard Constraints |
| 39 | +- exact files only |
| 40 | +- copy only from original Asteroids files; do not move or delete source files |
| 41 | +- do not modify any original `games/Asteroids/*` files |
| 42 | +- do not widen into systems, levels, assets, or unrelated entities |
| 43 | +- do not refactor gameplay behavior |
| 44 | +- preserve copied file behavior exactly except for minimum path/import fixes required in the parallel lane |
| 45 | +- no repo-wide cleanup |
| 46 | +- no unrelated formatting churn |
| 47 | + |
| 48 | +## Validation Steps |
| 49 | +- confirm only the exact target files above changed |
| 50 | +- syntax-check: |
| 51 | + - `games/asteroids_new/index.js` |
| 52 | + - `games/asteroids_new/flow/attract.js` |
| 53 | + - `games/asteroids_new/flow/intro.js` |
| 54 | + - `games/asteroids_new/game/AsteroidsWorld.js` |
| 55 | + - `games/asteroids_new/debug/asteroidsShowcaseDebug.js` |
| 56 | + - `games/asteroids_new/entities/Bullet.js` |
| 57 | + - `games/asteroids_new/entities/Ship.js` |
| 58 | +- confirm imports across the listed `games/asteroids_new` files resolve cleanly |
| 59 | +- confirm no original `games/Asteroids/*` files changed |
| 60 | + |
| 61 | +## Acceptance Criteria |
| 62 | +- the copied world, debug, and two-entity slice exist in `games/asteroids_new` |
| 63 | +- `games/asteroids_new/index.js` and the two flow files resolve against the parallel lane files |
| 64 | +- the listed parallel-lane files parse cleanly together |
| 65 | +- original Asteroids files remain untouched |
0 commit comments