Skip to content

AutoStory: story engine for a zone game (PLZA slice 1, C) - #574

Draft
dayfine wants to merge 5 commits into
plza/slice1/bfrom
plza/slice1/c
Draft

dayfine wants to merge 5 commits into
plza/slice1/bfrom
plza/slice1/c

Conversation

@dayfine

@dayfine dayfine commented Nov 15, 2026

Copy link
Copy Markdown
Owner

Depends on #573

The second piece of PLZA slice 1 is the shared engine a zone game needs to play its checkpoints: the backend interface and a scripted FakeStoryBackend, the game's action table with its lint and dispatch, a step runner, a straight-line event runner, the checkpoint retry loop, and run_segment with saves and reloads. CommonTools gains the shared screen events, fades, same_screen and the ScreenObservation look. Copied from the PLZA AutoStory branch and trimmed: no built-in tile actions, grid poses, skip_if, recoveries, interrupts or postconditions yet. Unit tests run the engine on the scripted backend (passes, failures, retries after reloads, no reload without a save, lint, console_only, a walk waiting for a scripted white fade) and cover the event runner, the retry loop, the backend pieces and the screen events; no console run.

The shared engine one zone game (PLZA) needs to run checkpoints: the
backend interface and a scripted FakeStoryBackend, the game's action
table with its lint and dispatch, a step runner, a straight-line event
runner, the checkpoint retry loop, and the engine's run_segment with
saves and reloads. CommonTools gains the shared screen events, fades,
same_screen and the ScreenObservation look.
# Conflicts:
#	SerialPrograms/Source/ComputerPrograms/ComputerPrograms_UnitTestRunner.cpp
#	SerialPrograms/Source/Pokemon/AutoStory/Pokemon_AutoStory_Tests.h
#	SerialPrograms/cmake/SourceFiles.cmake
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant