1. 63
  1. 13

    As soon as I tried this out, I immediately started thinking of ways to improve it:

    • Randomly-generated quests or goals, like “find the 3 artifacts of power in /foo, /bar, and /baz, then unite them at /qux to face the dragon”
    • Some small amount of control over your hero’s class or abilities, possibly through creating files with a specific name or format
    • Locked doors at some directories, with clues on where to find the key: “the key is where you can find s__d.co_f
    • Biomes specific to certain directory subtrees, with different types of enemies or random events

    …I kind of want to write my own version of this now.

    1. 14

      …I kind of want to write my own version of this now.

      This is the best feedback I could get :)

      I have several ideas along the lines you mention (e.g. a quest system with goals such as “n levels deep”, kill all enemy classes, etc; as well as support for different hero classes, e.g. thief and fighter, even mage and wizard if I ever incorporated spells).

      I hesitated to add features that would require prior knowledge of what’s already available in the filesystem, as well as arbitrarily adding files or directories (which may not be everyone’s cup of tea). One option that sounds reasonable is adding a command to autogenerates a filetree/dungeon at a given directory, assuming that the game is welcome to do whatever inside that.

      Feel free to file github issues with this sort of idea, or send PRs or, well, fork and spin your own version :)

      1. 2

        Idea: have /dev/null be like a bottomless pit that you can throw items into to “destroy” them. Maybe even have a LOTR-like quest to go retrieve a cursed artifact and make it to /dev/null alive to destroy it.

    2. 9

      This would make a fun April Fools joke on a university cluster, or some other multi-user system: alias cd to also pass the path to rpg, so the adventuring is integrated into users’ normal workflows by defualt.

      1. 4

        Looks like I’m getting no work done tomorrow

        1. 4

          When I first learned Unix (1982? It was BSD 4.2) I wrote a couple of simple shell scripts to make the shell work like a text adventure game a la Zork. Sort of like

          $ look
          You are in ~/tmp. There are many files here: foo.c, foo.h, a.out
          Obvious exits are: up
          $ examine foo.h
          Opening foo.h reveals:
          // foo.h
          int foofn();
          $ go up
          You are home.
          

          Stories with similar links:

          1. rpg-cli [v1.0.0] - your filesystem as a dungeon authored by facundoolano 1 year ago | 13 points | no comments