Files
prometeu-studio/discussion/lessons/DSC-0101-pong-playable-test-project/LSN-0101-pong-as-the-first-studio-game.md
T
bquarkz 38f201a9c9
Test / Tests and coverage occurred while executing withChecks step.
Intrepid/Prometeu/Studio/pipeline/pr-master There was a failure building this commit
lesson added
2026-11-06 02:35:19 +00:00

4.5 KiB
Raw Blame History

id, ticket, title, created, tags
id ticket title created tags
LSN-0101 pong-playable-test-project Pong as the First Playable Studio Game 2026-11-05
studio
pbs
game
pong

Context and result

Owner: studio/project PBS. DSC-0101 / DEC-0085 / PLN-0163 delivered Pong in a project created by the user through Studio. It is a bounded first game originating from the broader AGD-0088 discussion. After this delivery, the user explicitly abandoned AGD-0088 / DSC-0086 on 2026-11-05. Its unfinished qualification matrix is no longer active work; additional games or renewed qualification require a separate request and discussion.

The implementation is in Studio commit b2410e6e. It preserves app ID 1508740446 and supplies one player against a slower deterministic CPU, first to five points, with menu, serve, play, pause and result states. Existing Color/Gfx and Pad/Button APIs provide rendering and input. It needs no authored art, audio, persistence, engine change or runtime repository write.

Keep the first game small and inspectable

The saved source separates input, state transitions, simulation and drawing. The 480×270 display has an explicit court boundary. The player moves four pixels per tick; the CPU moves two and tracks the ball only after it enters the CPU's half.

Ball positions use integer quarter pixels. Four bounded substeps advance one game tick; the maximum horizontal movement per substep is 1.75 pixels, below the eight-pixel paddle width. Collision checks require an incoming ball, restore its position outside the paddle and choose a bounded outgoing angle from the impact offset. A goal returns immediately after scoring, preventing a second score in the same tick.

One state branch executes per frame. Held Up/Down move the paddle; pressed A/Start/B drive transitions. Pausing returns before physics. Resume restores the prior phase. A new match clears both scores and resets positions; reaching five enters the result state. These properties can be reviewed directly without an additional game framework.

Execution evidence and its limits

Studio saved-source diagnostics returned no diagnostics and a Studio build succeeded during implementation. That access used an adapter script, which the user rejected as an adequate test of native Studio tooling. A working transport does not establish native tool registration or complete Studio authoring coverage. The acquired agent task was released; the agent started no headless game process.

The user's first Play attempt reported a missing runtime setting. After updating Studio, the user reported Pong running successfully. No runtime code fix was needed. Housekeeping also observed a complete newer build at 17:12:51 UTC on 2026-11-05. Its hashes are retained in the shared build observation.

The user subsequently identified these deliveries as already executed and concluded. This closes the first-game delivery. Pause, scoring and reset were reviewed in source; no individual live input replay, full-match trace, captured frame or native MCP authoring qualification is claimed. The user's subsequent abandonment of the parent discussion preserves these evidence limits and the completed Pong delivery without carrying forward the unfinished qualification as active work.

Pitfalls

  • Treating all platform capabilities as prerequisites for the first small game.
  • Conflating a successful Studio build, a user Play report and a scripted runtime trace. Each establishes a different part of the result.
  • Replacing unavailable native tools with a custom transport and describing that route as native connector validation.
  • Reading an old draft handoff as the final state after the user has built and played the project. Reconcile saved artifacts and later feedback before cleanup.
  • Restarting a rally when resuming or applying one input edge to multiple states.

References