Skip to content

Playground

Play with Bruja

Pick an example and play it. The script is next to the story, and each line lights up as it runs. Nothing to install, nothing to write.

A first look: a speaker, three choices and a variable, in a snowy bakery.

welcome.bruja
coins = 3
name = "friend"

> The bakery bell jingles as you step in out of the snow.
> @Baker (cheerful): Welcome in! What can I get you?
    * Ask what's fresh
        > @Baker: The cinnamon buns came out of the oven a minute ago.
    * Tell her you're new in town
        name = "neighbor"
        > @Baker: Then the first bun is on the house!
    + Buy a cinnamon bun
        coins -= 1
        > You hand over a coin. You have [count: coins | no coins | one coin | {coins} coins] left.
> @Baker: Enjoy it, {name}. Come back soon!

Waking the storyteller…

Press 1–3 to choose

Ready to write your own?

The web IDE is the whole editor in your browser: no download, errors as you type, several files, sharing and export. Your stories stay on your device.