Movie Replay Journal
A power blink erased the movie set's memory! Build an action journal that remembers every accepted change, then replay it to restore the scene exactly.
π§ Before we start
Clinic Dead Letter Ward kept failed alerts safe instead of losing them. Today, event sourcing keeps every accepted action safe in an ordered journal. The current scene can be rebuilt by replaying that history from the beginning.
Build the journal program
Tap the visual instruction blocks in order. A request is checked before it becomes a permanent event, and the scene changes only after the event is recorded.
Record the opening scene
Make the scene ready in order: lights on, curtain open, star enters. Each accepted action becomes the next numbered event before the stage changes.
Replay after a crash
The set forgot its current view, but the event journal survived. Tap the numbered event cards in order to rebuild the same scene.
Recover from a snapshot
A long movie may have hundreds of events. Choose the fast, safe recovery: load a saved picture of the scene, then replay only events recorded after it.
lights on Β· curtain open Β· star onstage
moon prop appears
π What you learned
- An event is a fact that the program accepted.
- An append-only journal keeps events in the order they happened.
- The current view is built by applying those events.
- After a crash, replaying the same history rebuilds the same state.
- Changing or skipping old events can produce a different result.
- A snapshot saves a known state so recovery can replay only later events.