4 ms·
I made a text adventure that you play in your file browser. The lines of dialogue are filenames, and the movement / dialogue options are done by switching folde
by wheybags 6y ago
I made a text adventure that you play in your file browser. The lines of dialogue are filenames, and the movement / dialogue options are done by switching folder (using synlinks on unices, and shortcuts on windows).
For each permutation of variables, there is a copy of the whole world. So, for example, you are in the folder x2y3key0, and you select the "pick up key" option, it will be a symlink to the x2y3key1 room, and there will then be a copy of the entire dungeon, but with key set to 1. It's surprising how much you can do, I even managed to have a combat encounter with "HP" for the player and enemy. The limiting factor is the sheer number of folders you have to make, it explodes fast when you add variables. I ended up with somewhere around 40k iirc.
Originally made it as a birthday present for my girlfriend at the time, but I've been working on cleaning it up (and removing personal parts) for a public version. Planned to post it on HN when I'm done.
Edit:
I also made a treasure trail that involved typing encryption keys hidden in the world into a little c program (xor encryption :D). The pièce de résistance was when it eventually spat out an android app that would scan wifi networks for a known ssid, to verify she was in a specific location before revealing the next password. The ssid was "KFC" lol. Because I knew it was guaranteed to be available.