Examples
Here are some complete example stories that demonstrate Squiffy’s capabilities.
Coffee Shop Confessions
Section titled “Coffee Shop Confessions”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
@setand@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
The Wheel of Dubious Fortune
Section titled “The Wheel of Dubious Fortune”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
More examples
Section titled “More examples”You can find more examples here or browse the source on GitHub.