I have no idea what is going on.
I see about 6 possible actions:
n - move north
s - move south
e - move east
w - move west
d - discover? It says I found dirt.
b - ? ? ? ?
Then it says that I've won.
north/south/east/west/dig/build :)
How did I win?
You built the house!