Actions

Work Header

Rating:
Archive Warning:
Category:
Fandom:
Additional Tags:
Language:
English
Collections:
HTML Tryhards 2026
Stats:
Published:
2026-02-21
Words:
1,105
Chapters:
1/1
Comments:
2
Kudos:
4
Hits:
40

Simple Interactive Fiction Language Demo

Summary:

Short demo of an interactive fiction system which supports item pickups and other types of flags. Areas have to be revisited to obtain new items, much like in classic text adventures!

Work Text:

Continue...

Welcome! This is the first interactive fic created using SIFL. SIFL (Simple Interactive Fiction/Fic Language) is a language and compiler I created to write interactive fiction compatible with AO3! This is my contribution to the HTML Tryhards 2026 event.

SIFL is free and open source, and will soon be available for anyone to use! Currently the compiler is strapped together with duct tape and exposed wires, but I'm working on getting it together.

This work is a sort of teaser to show of what SIFL is capable of. I hope you enjoy!

If you want to see what SIFL looks like before it's compiled, check out this.

Note: when you click the enter button there will be a rounded button at the top of the fic, whenever this happens simply click it and keep clicking until the fic comes back.

Enter puzzle

Continue...

Continue...

Main Room

You find yourself in a small room. The walls are clad in wood siding, almost like a sauna. There's a box in the center of the room, and a door.

Check the door
Check the door
Check the box

You push the door, you pull it, you feel around its edges. Nothing indicates that it is capable of opening. It has no handle or hinges, but it appears to be a door.

Return to room

Continue...

You leave through the door.

Enter hallway

Continue...

It's a small box affixed to the floor. It feels like it can turn.

Which direction will you turn it?

Left
Right

You turn the box left.

You turn the box right.

The box opens, revealing a button inside.

View the panel at the bottom of the screen to continue.

Continue...
Confirm

You decide to not press the button. Nothing happens.

You press the button, and the door cracks open.

Return to room

Continue...

Continue...

Hallway

You're now in a long hallway. At the end of the hallway is another mysterious door without a knob or hinges. One one side of the wall is a series of colored buttons, on the other is a plaque.

Examine buttons
Examine the plaque

There are several buttons, each a different color. There is a green, white, and red button.

Return to hall

Continue...

Press/unpress buttons
Continue...
Confirm

The door opens.

Nothing happens

Exit through the door

Continue...

Return to hall

Continue...

The plaque has some text on it, then a grid of flags with the name of the corresponding country under each flag.

"Travelling abroad? Remember to visit our locations all across the Americas!"

The flag grid includes:

🇨🇦 Canada, 🇺🇸 United States, 🇲🇽 Mexico
🇦🇬 Antigua and Barbuda, 🇨🇺 Cuba, 🇩🇲 Dominica, 🇩🇴 Dominican Republic, 🇭🇹 Haiti, 🇹🇹 Trinidad and Tobago
🇧🇿 Belize, 🇨🇷 Costa Rica, 🇵🇦 Panama, 🇨🇱 Chile, 🇬🇾 Guyana, 🇵🇾 Paraguay, 🇵🇪 Peru, 🇸🇷 Suriname

"We are also considering expanding to 🇨🇭 Switzerland and 🇩🇰 Denmark!"

Return to hall

Continue...

Continue...

Sanctum

The door opens to a massive circular room. It feels ancient and holy. Stained glass windows cast dazzling light in the center, colored and refracted in beautiful patterns.

In the center of the room is an altar. It is a receptacle, an object is clearly meant to be placed inside.

There are two doors on either side of the room.

A beam of light shoots from the left room into the right.

Enter the right doorway

Continue...

Enter the left doorway

Continue...

Place gem on the altar

You place the gem inside the receptacle. As you lower it down, flashes of light sparkle through it. The facets illuminate alternately, as if it were spinning in the sunlight.

You finally drop the gem entirely into the receptacle and it shines brightly. Your eyes have difficulty adjusting, the room becomes pure brilliance.

Bathe in the light

Continue...

Continue...

Dark room

A narrow hallway takes you into a dimly lit, dusty room. There are many cabinets and chests which line the walls and form rows along the room's length.

A beam of light illuminates a small section of the wall. In the spot of light is a key dangling from a hook.

Check the cabinets and chests
Grab the key
Return to sanctum

Continue...

You rummage through the cabinets.

Continue...
Confirm
Return to doorway

Continue...

Continue...
Confirm
Return to doorway

Continue...

Continue...

Bright room

The room is very bright. Light flows freely from a bay of windows high up the walls.

In the center of the room is a short column. Its purpose is unclear.

A mirror is held in a column. Its face reflects a narrow beam of light through the door and into the main sanctum.

There is a massive ornate chest under the windows. A massive lock dangles from it.

Examine chest
Open chest
Examine column
Return to sanctum

Continue...

The chest is wooden, made of heavy panels restricted by thick beams of wood. The panels have reliefs of wilderness scenes: deer frolicking through the forests, children picking mushrooms as mice scurry by, a knighting under a lone tree in the plains.

Its lock is weighty. All around the lock are carved flourishes which have been laid with gold leaf.

Return to doorway

Continue...

You open the chest. Inside are several objects.

Continue...
Confirm
Return to doorway

Continue...

The column is short, as if it had been cut in half. The top is just beneath your chin. On the top is what appears to be a rest, as would be used for a book. The rest is angled.

Place mirror on the rest
Return to doorway

Continue...

You place the mirror on the rest. You feel some resistance.

Continue...
Confirm

You adjust the mirror, which snaps into the rest. As soon as it snaps in place, a beam of light shoots from it and through the door.

Return to doorway

Continue...

Continue...

Congratulations!

You have won the game! I know, it was short, but I hope you enjoyed it nonetheless.

Making the compiler was quite involved, but now that I have a working proof of concept I intend to clean it up and release it for others to use.

While this fic is short, there's really no limit to the scale of what can be made with the language. There are some limitations, everything is driven by user interaction, and variables are all booleans. Other than that, though, the sky's the limit!

If you enjoyed this little experiment, I'd greatly appreciate a kudos! It helps me gauge interest for this tool. I also appreciate comments, and will try to answer any questions about the tool.

Press button
Green button
White button
Red button
Beautiful jewels
Ornate hand mirror
Sharp dagger
Buckle
Key
Diamond necklace
Ruby encrusted ring
Hefty brilliant gem
Settle the mirror in place
Start game

Start