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.