Repository navigation
feat(pocket3d): a Demo row on the title that plays a fixed script of presses, for filming a console - #595
Open
doodlewind wants to merge 1 commit into
Open
feat(pocket3d): a Demo row on the title that plays a fixed script of presses, for filming a console#595doodlewind wants to merge 1 commit into
doodlewind wants to merge 1 commit into
Conversation
…presses, for filming a console pocket3d-demo reads a script (wait, press, hold, until <mark>, call <words>) and plays it a frame at a time in place of the pad; the first real press ends it. The interface skill makes the Demo row part of every Pocket3D title. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
engine/pocket3d/crates/pocket3d-demo(no_std, no dependencies): reads a demo script and plays it a frame at a time in place of the pad.wait,press <buttons> [xN] [gap],hold,until <mark> [limit],call <words>.Demo::tick(pad, mark)returns the buttons for the frame, a step for the game to carry out (Call), or the end (Finished,Stopped,Lost { line, mark }).skills/pocket3d-interface: every Pocket3D title ends with a Demo row. The flow owns the demo:input(pad)returns the buttons the frame plays with, and every host passes that to both the simulation and the guest. Also added a checklist item and two common mistakes.engine/pocket3d/README.md: a row for the new crate.handheld-kernels.yml: ademojob runningcargo test.Checks
cargo test --manifest-path engine/pocket3d/crates/pocket3d-demo/Cargo.toml: 6 passed.cargo clippy: no warnings.feat/demo).Finished, and two runs send the same state lines.finishedafter about 60 s.🤖 Generated with Claude Code