Recently Written

How to Beat Emacs M-x dunnet in 5 minutes.

What?

In the emacs text editor there are some goofy commands that play games. M-x (which means Alt+x) is the way to execute a command in the editor, so M-x dunnet starts the game called “dunnet” which is a text adventure. I cheated and won. Defining just one function and setting one variable is sufficient to win. [Here is a text map of the easy path.](https://recentlywritten.com/static/path.txt)) The command prompt is a `>`.

Basic Commands

To win

First, save the game so you can restart easily later:

How you need to move around the world a bit. Dunnet will greet you:

<pre>You are at a dead end of a dirt road. The road goes to the east. In the distance you can see that it will eventually fork off. The trees here are very tall royal palms, and they are spaced equidistant from each other. There is a shovel here.</pre>

Now in M-: you must login to the VAX console

Eval: (setq dun-logged-in t)

back to the dungeon:

greeted by a $ prompt:

To get to endgame in the VAX console, define this with M-:

(defun dun-score (garb) 90)

Now back to the dungeon:

$ rlogin endgame

Congrats, now you get questions, here they all are with answers:

So you might do:

then:

there are three quesions in total:

(naturally, you deserve it you cheater)!

(you dirty cheater)

Congrats you are in the winner’s room.

Now you can actually play it if you want.