THE COURTYARD MAP — COMPLETE TEXT AND CHOICE COMPANION
Original fictional story. No real outdoor route or travel is required.

START — The Courtyard Map
Before dusk, the courtyard closes. You want to find a quiet place to finish your drawing. A folded map rests beside the archive door; a garden path has no sign.
Choice 0: Pick up the map and check the archive -> ARCHIVE; hasMap becomes true.
Choice 1: Take the garden path without the map -> GARDEN; hasMap becomes false.

ARCHIVE — A Marked Gate
The map marks an east gate leading to a sheltered bench. The west gate has a warning: closing early.
Choice 0: Keep the map and use the east gate -> ENDING_OPEN; hasMap remains true.
Choice 1: Leave the map and try the west gate -> ENDING_CLOSED; hasMap becomes false.

GARDEN — An Unmarked Turn
The path ends at the west gate. Without the map, you cannot identify the east route before dusk. You can try this gate or return with your unfinished drawing.
Choice 0: Try the west gate -> ENDING_CLOSED; hasMap remains false.
Choice 1: Return before dusk -> ENDING_RETURN; hasMap remains false.

ENDING_OPEN — The Sheltered Bench
With the map, you find the east bench. You finish the last lines as the light fades. The route choice changed where you could work.
No further choices.

ENDING_CLOSED — A Closed Gate
The west gate is already closed. You sketch its outline from outside, making a different drawing rather than reaching the bench.
No further choices. This common text fits both incoming routes.

ENDING_RETURN — A Drawing for Tomorrow
You return before dusk with the drawing unfinished and note the missing route information. The next visit can begin with the map.
No further choices.

Four complete routes: START/0 -> ARCHIVE/0 -> ENDING_OPEN; START/0 -> ARCHIVE/1 -> ENDING_CLOSED; START/1 -> GARDEN/0 -> ENDING_CLOSED; START/1 -> GARDEN/1 -> ENDING_RETURN.
Restart restores passage=start, hasMap=false, history=[start]. Every move appends the chosen passage ID to a copied history array. These local files do not implement account saving.
