What if Bash was an MMO-MUD?
- You SSH to get access to this world
- All players are represented by users
- No standard GNU/UNIX commands are enabled
Locations are folders:
- ".." as a concept does not exist but rather the world is bound together by linked folders
- Symbolic links can also be portals of sorts
- The system keeps track of all users' CWD and you can "see each other" if you are in the same directory
- CHMOD can be used to restrict access to certain parts, so that you require for instance a boat to cross "water"
Entites are files:
- The files contain info about the entity they represent
- The file extension is a sort of category (monster, item, NPC, etc)
- Monsters and other NPCs are executable bash scripts, which you can interact with.
As a player you stat, ls, cat and do other things. These commands are aliased to more RPG-y variants (less = lookat, ls = lookaround ...)
Home base:
- Each user's home directory is its base (and can only be accessed by it).
- If the current user's CWD is ~, it will regenate HP/MANA etc
- In it there are items and NPCs etc.
Daemons:
- Keep track of the environment, re-growing consumed items etc
- CRON makes sure the world is populated with fresh monsters etc
👍 clever