July 6th, 2024

Show HN: Bash Dungeon – An educational dungeon crawler in the shell

The GitHub repository hosts "Bash Dungeon," a dungeon crawler game implemented in bash using directories. Players learn shell commands interactively. Access via GitPod, Docker, or locally for educational shell usage.

Read original articleLink Icon
Show HN: Bash Dungeon – An educational dungeon crawler in the shell

The GitHub repository hosts "Bash Dungeon," a dungeon crawler game implemented in bash where dungeons are depicted as directories. Inspired by "Dungeons And Directories" and "Bash Crawl," the game aims to familiarize users with shell commands in an engaging manner. It is a work in progress, designed to be educational and interactive for newcomers to shell usage. Players can access the game via GitPod after creating a free account or run it in Docker by following the instructions on the repository. Alternatively, one can opt for local play by cloning the repository and adhering to the provided guidelines. To navigate the game, players utilize fundamental commands like `cd`, `ls`, and `cat`. Dive into the world of "Bash Dungeon" for a unique shell experience.

Link Icon 13 comments
By @larsrc - 3 months
This is a really nice idea! I played it a little bit and found one thing that can be confusing (at least for experienced Bash users): The use of <> as quotes. For instance:

   You can use the < head -n 1 > spell to take a peek at what a file holds
How about using a not-easily-typeable character pair like the guillemots?
By @jamietanna - 3 months
Nice, reminds me of https://github.com/veltman/clmystery which was very fun when I played it (~10 years ago)
By @blululu - 3 months
This is great. At some point in time I realized how much I was using the terminal and spending a bit of time to learn the basics is a great investment of time. I used a similar rouge-like to learn (this one I think: https://gitlab.com/slackermedia/bashcrawl), and it really did help to nail in the basics. Would definitely recommend spending the time on one of these games for anyone who wants to learn.
By @zersiax - 3 months
I love this ;) If you do add TUI graphics please consider adding a switch to not use them, ascii art is majorly annoying with a screen reader :)
By @user3939382 - 3 months
I’m reminded of that movie Hackers where the kid has to solve a 3D maze to authenticate with some remote computer lol
By @BeetleB - 3 months
Is this more about learning bash or about learning UNIX utilities?

I need more of the latter then the former.

By @29athrowaway - 3 months
I hope someone makes a video of this game.
By @shakna - 3 months
So is ag "cheating"...?
By @bozhark - 3 months
Is there a dengeon option?
By @EricRiese - 3 months
By @smusamashah - 3 months
Please add a screenshot of what it looks like. I am assuming the only picture you have on the page is not how game looks.