pi-dunnet
v1.0.4
Published
Play classic Emacs Dunnet text adventure inside pi — /dunnet
Downloads
626
Maintainers
Readme
pi-dunnet
The classic Emacs Dunnet text adventure inside of pi.
What is Dunnet?
Dunnet is a text adventure game originally written by Ron Schnell in 1982 and shipped as a built-in game in Emacs. Explore a dungeon, collect treasures, solve puzzles, and try to achieve the rank of Grandmaster. This is a port of dunnet.el in TypeScript for pi.
Install
pi install npm:pi-dunnetOr manually:
npm install pi-dunnetPlay
In pi, type:
/dunnetOpens a TUI game panel where you can play interactively.
Controls
| Key | Action | |---|---| | Enter | Send command | | Esc | Close game panel | | PgUp / PgDn | Scroll output | | Backspace | Delete character |
Commands
look — describe current room
go north — move in a direction (n/s/e/w/ne/nw/se/sw/up/down/in/out)
inventory — list what you're carrying
take <item> — pick something up
drop <item> — put something down
examine — look at something closely
eat <item> — eat something
read <item> — read something
dig — dig in the current room (if you have a shovel)
save — save your progress
restore — restore a saved game
quit — quit (and start a new session)
help — list available commands
score — check your current scoreLicense
GPL-3.0.
