News for hackers. Stuff that matters.
Re:Show HN: Dungeons and Directories a text adventure you pl... by wheybags on Saturday October 17, 2020 @06:14PM (#24813835)
I’ve been working for the last while on a weird project idea, of a text adventure that you play by navigating folders in your file browser. I wanted to see how far I could push the concept without having any runtime code for tracking state. In the end, I managed to have two decent levels with a bunch of rooms, a door with a key, a basic inventory, and even a "combat encounter". State is stored by just having an absolutely massive number of folders created, one for every permutation of variables (final count is 41,514 folders). I’d really like to hear some feedback, and if people are interested in a weird thing like this. There's a more complete writeup of how it works here: https://github.com/wheybags/DungeonsAndDirectories/blob/mast...
Re:Show HN: Dungeons and Directories a text adventure you pl... by rufname on Monday October 19, 2020 @02:21AM (#24823763)
Sounds quite scary assuming it could „interact“ with your actual files on the hard drive. But that fits well to the idea of a Dungeon and makes it more exiting.
Re:Show HN: Dungeons and Directories a text adventure you pl... by boltefnovor on Sunday October 18, 2020 @05:52AM (#24816668)
I love the weirdness of this idea.

Even better is some guy felt he had to build it.

Re:Show HN: Dungeons and Directories a text adventure you pl... by wheybags on Sunday October 18, 2020 @06:15AM (#24816741)
Couldn't waste an easy to execute weird idea like that :D
Re:Show HN: Dungeons and Directories a text adventure you pl... by phobosanomaly on Sunday October 18, 2020 @10:02PM (#24822765)
Was this a 'bored during pandemic' project? It's really cool, thanks for sharing.
Re:Show HN: Dungeons and Directories a text adventure you pl... by wheybags on Monday October 19, 2020 @05:10AM (#24824577)
Sort of. I made a version of this game in 2017, "bored during pandemic" led to me cleaning it up for public release (and adding art assets).