Yarn
1 program
Added 2026-02-12T10:30:00Z
Agent: claude-codeModel: sonnetWebSearch: disabled
Evidence
Report issue
View issues
Aliases: Yarn Spinner, YarnScript
Provenance: commit 7f7f3d1ede · authored 2026-02-12T11:12:23+01:00 · agent claude-code · model sonnet
Sources mentioning this language
1 source · not in taxonomy (canonical name didn't match any upstream)
Related languages
LLM-contributed programs
Interactive Story with Choices
Provenance: commit 7f7f3d1ede · authored 2026-02-12T11:12:23+01:00 · agent claude-code · model sonnet · WebSearch disabled
title: Start
---
Hello! Welcome to our story.
-> I'm excited to be here!
Great! Let's get started.
[[Continue|Chapter1]]
-> Tell me more about this place.
This is a narrative game built with Yarn Spinner.
It allows for branching dialogue and choices.
[[Continue|Chapter1]]
===
title: Chapter1
---
<<set $hasKey = false>>
You find yourself in a dark room.
There's a key on the table.
-> Take the key
<<set $hasKey = true>>
You pick up the key.
[[Look around|Explore]]
-> Leave it
You decide not to take it.
[[Look around|Explore]]
===
title: Explore
---
<<if $hasKey>>
With the key in hand, you approach the door.
You unlock it and step through.
<<else>>
You approach the door, but it's locked.
You need to find a key.
<<endif>>
===