|
| 1 | +Toolbox Aid |
| 2 | +David Quesenberry |
| 3 | +04/05/2026 |
| 4 | +BUILD_PR_PRODUCTIZATION_DISTRIBUTION_STARTER.md |
| 5 | + |
| 6 | +# BUILD_PR_PRODUCTIZATION_DISTRIBUTION_STARTER |
| 7 | + |
| 8 | +## Build Summary |
| 9 | +Created a docs-only productization distribution starter bundle defining how Asteroids and Breakout are packaged, discovered, and shared. |
| 10 | + |
| 11 | +## Defined Contracts |
| 12 | + |
| 13 | +### 1. Showcase Landing Page Structure |
| 14 | +Recommended structure for a dedicated distribution landing page: |
| 15 | +1. Hero block: |
| 16 | +- Productized showcase intent. |
| 17 | +- Supported browser baseline. |
| 18 | +- Quick start call-to-action. |
| 19 | + |
| 20 | +2. Showcase sample cards: |
| 21 | +- Asteroids card. |
| 22 | +- Breakout card. |
| 23 | +- Badge row: `Playable` and `Debug Showcase`. |
| 24 | +- Buttons: |
| 25 | + - `Play` -> default path. |
| 26 | + - `Play (Debug)` -> explicit debug query entry. |
| 27 | + - `Demo` -> one-click demo mode query entry. |
| 28 | + |
| 29 | +3. Help and support block: |
| 30 | +- Debug key combos. |
| 31 | +- Troubleshooting basics. |
| 32 | +- Production-safe default note. |
| 33 | + |
| 34 | +4. Build/package metadata block: |
| 35 | +- Package version. |
| 36 | +- Build date. |
| 37 | +- Included sample list. |
| 38 | + |
| 39 | +### 2. Sample Discovery Contract (`games/index.html`) |
| 40 | +Starter discovery improvements contract: |
| 41 | +- Keep showcase badge visible and unique. |
| 42 | +- Ensure Asteroids and Breakout both display debug showcase intent. |
| 43 | +- Keep links predictable and documented: |
| 44 | + - Play: `index.html` |
| 45 | + - Debug: `index.html?debug=1` |
| 46 | + - Demo: `index.html?debugDemo=1` |
| 47 | + |
| 48 | +### 3. Packaging Strategy (Standalone vs Repo-linked) |
| 49 | +Two packaging modes are defined: |
| 50 | + |
| 51 | +A. Repo-linked package: |
| 52 | +- Intended for contributors and local development. |
| 53 | +- Uses existing repo-relative paths. |
| 54 | +- Includes docs and source for iterative updates. |
| 55 | + |
| 56 | +B. Standalone showcase package: |
| 57 | +- Intended for external sharing/demo distribution. |
| 58 | +- Includes only runtime-required files for Asteroids and Breakout. |
| 59 | +- Excludes tests, temp artifacts, and unrelated game/sample trees. |
| 60 | + |
| 61 | +### 4. Asset Bundling Rules |
| 62 | +Include: |
| 63 | +- `games/Asteroids/**` runtime-required files. |
| 64 | +- `games/Breakout/**` runtime-required files. |
| 65 | +- Required engine runtime/UI assets referenced by those samples. |
| 66 | +- Required shared debug tooling files used by those samples. |
| 67 | + |
| 68 | +Exclude: |
| 69 | +- `tests/**` |
| 70 | +- `tmp/**` |
| 71 | +- unrelated game/sample folders |
| 72 | +- planning/report artifacts not needed for runtime demo package |
| 73 | + |
| 74 | +Path rules: |
| 75 | +- Preserve browser-resolvable relative paths. |
| 76 | +- Avoid rewriting paths during packaging unless explicitly versioned by a later PR. |
| 77 | + |
| 78 | +### 5. User Entry Points (Play vs Debug) |
| 79 | +Asteroids and Breakout entry contract: |
| 80 | +- Play: `/games/<Sample>/index.html` |
| 81 | +- Debug: `/games/<Sample>/index.html?debug=1` |
| 82 | +- Demo: `/games/<Sample>/index.html?debugDemo=1` |
| 83 | + |
| 84 | +Behavior expectations: |
| 85 | +- Play remains production-safe default. |
| 86 | +- Debug and Demo remain explicit opt-in. |
| 87 | +- Debug UI messaging is consistent across both samples. |
| 88 | + |
| 89 | +## Roadmap State Updates |
| 90 | +`docs/dev/PRODUCTIZATION_ROADMAP.md` bracket-only updates: |
| 91 | +- Track R / Showcase landing page: `[ ]` -> `[.]` |
| 92 | +- Track R / Build packaging strategy: `[ ]` -> `[.]` |
| 93 | +- Track R / Asset bundling rules: `[ ]` -> `[.]` |
| 94 | + |
| 95 | +## Validation |
| 96 | +- Docs-only scope preserved. |
| 97 | +- No engine files changed. |
| 98 | +- No BIG_PICTURE roadmap edits. |
| 99 | +- Productization roadmap edits are bracket-only. |
0 commit comments