Logic & State Map · dev previewFive archetype fixtures rendered by LogicStateMap.vue — grammar parity with the demo sheets.

Logic & state map

How your story flows — and what it remembers

Numbers on top are the pages. Boxes show what happens; pills show the state. Solid arrows go forward; the dashed arc loops back.

Mémorise# kindness_points number · 0✏️ name textpicked_key yes/no · no
Pages1234567
Title Page
Mystery Begins
Real Choice
Kind Outcome
Unkind Outcome
Fake Choice
Final Reveal
KindUnkind↺ Try again
Avancer — l’histoire continueBoucle — le joueur revient en arrière (réessayer / hub)

Logic & state map · hub

A hub you keep returning to

The player explores the exhibits in any order, coming back to the Lobby each time. Once all three are seen, the gate to the Finale opens.

Mémorise# seen number · 0
Pages123456
Start
Lobby↺ HUB
Exhibit A
Exhibit B
Exhibit C
Finale
🔒 needs seen = 3
Avancer — l’histoire continueBranche — une page hors du hub d’où l’on revientPorte — s’ouvre seulement quand le compteur est atteint

Logic & state map · linear

A straight-through story — no branches, no loops

The simplest shape: one page after the next. State pills still show what is remembered; a reveal is an in-page interaction, not a branch.

Mémorise✏️ name text
Pages12345
Title
Magma Rises
Pressure Builds
Eruption!
Recap
Avancer — l’histoire continue

Logic & state map · loops

A story with two loops

Two retry points send the player back. When loops overlap, they stack in lanes below — the wider loop sits deeper — so the dashed arcs never cross.

Pages123456
Village
Gate
Forest Path
Puzzle
Boss
Victory
wrong → retrylose → back to Gate
Avancer — l’histoire continueBoucle — le joueur revient en arrière (réessayer / hub)

Logic & state map · multi-ending

A choice with different endings

Here the arms do not rejoin — each choice is its own ending. The choice is remembered (path) and each ending reflects it.

Mémorise✏️ path text
Pages123456
Cave Entrance
Meet the Dragon
Your Answer
🏁 Wise End
🏁 Brave End
🏁 Kind End
WiseBraveKind
Avancer — l’histoire continue