Skip to content

Examples

Here are some complete example stories that demonstrate Squiffy’s capabilities.

A narrative-driven story about your first two days working at a coffee shop called “The Daily Grind”. This example demonstrates:

  • Text input for player customization
  • Variable tracking with @set and @inc
  • Conditional text based on player choices
  • Relationship tracking with multiple characters
  • Multiple story endings

▶ Play Coffee Shop Confessions — Open the full game in a new tab

An interactive game show hosted by the chaotic Hank. This example demonstrates:

  • Animations ({{#animate "typewriter"}} and {{#animate "toast"}})
  • Live updates ({{live "score"}})
  • Randomization ({{random}})
  • Complex state tracking (score, rounds, patience)
  • Nested conditional logic
  • Dynamic scoring system

▶ Play The Wheel of Dubious Fortune — Open the full game in a new tab

You can find more examples here or browse the source on GitHub.

To see what other people have made with Squiffy, browse the catalogue of Squiffy games on textadventures.co.uk. When you’ve finished your own story, you can publish it there too.