Skip to content
effect-state-machinev0.2.0 · MIT
DocsExamplesGitHubTry the demo

Examples

Complete applications modeled as machine definitions, each with the embedded Studio attached to the running instance.

game loopTetris

A full game as one machine: gravity as a named state-derived timer, steering as stay updates, and lock, clear, and top-out decisions as named guards.

checkout flowThe Bug Emporium

The landing-page shop: a cart and checkout session with typed failures and retries, driven live beside Studio's behavior map.