• cosmicrookie@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    13 hours ago

    Why can’t I figure this out! I can change directories as if they ere rooms, but the files don’t do anything. I get a warning that there is no such command

    • brax@sh.itjust.works
      link
      fedilink
      arrow-up
      2
      ·
      10 hours ago

      I found I had to chmod u+x the binaries, but they worked fine. You need to make sure you call them as ./filename (assuming you are in the same directory as the file)

      IE:

      chmod u+x treasure

      ./treasure

      • cosmicrookie@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        9 hours ago

        For a complete rookie, that wanted to learn, this is quite counterintuitive. There are very very fine details on how to install it and get started, and then this is not even described.

        • brax@sh.itjust.works
          link
          fedilink
          arrow-up
          1
          ·
          1 hour ago

          Yeah, I thought that was a bit weird, too. Going as basic as explaining how to use ls and cat and how to run an executable, but not mentioning how to make an executable actually be executable.

          I thought maybe it was just something wacky with my Termux install that made me have to chmod it all.

          I also found it weird how the game didn’t manage HP and inventory for you. There must have been better ways for it to show you how to use session variables…

  • ButteryMonkey@piefed.social
    link
    fedilink
    English
    arrow-up
    7
    arrow-down
    1
    ·
    2 days ago

    Awesome, I’m gunna try this for sure, because doing anything on my Linux machines is… a whole big thing… Thanks for sharing this!