Hunt the Wumpus on CP/M

  /     /   CP/M     Games     Retro    

Hunt The Wumpus was created by Gregory Yob in 1973 after seeing some of the hide and seek style games distributed by the People's Computer Company. Games such as Hurkle, Snark and Mugwump were all based on a 10x10 grid using Cartesian coordinates, but Yob thought that he could create a more interesting game without using a grid system and released it through the PCC.

The premise of the game is that you are in a cave system of connecting 'rooms' and must hunt and kill a creature called the Wumpus. At each turn you can move to one of three connecting rooms or shoot an arrow. You must be careful though as there are two rooms containing bottomless pits that you can fall into and two rooms that contain 'Super Bats' that can carry you off to another room. The Wumpus is asleep most of the time, but if you move into its room or it hears you shoot an arrow it will wake and move to another room. If you enter a room where the Wumpus is, or it moves into a room that you are in, it will kill you. To help you on your hunt you are warned if their is a pit, bat or Wumpus in an adjacent room with messages such as: 'I feel a draft', 'Bats nearby' or 'I smell a Wumpus'.

In the original version of the game, the cave system was a regular dodecahedron with each vertex representing a room. This was extended by Wumpus 2 which added five more caves, each with different properties. The cave systems were consistent and used the same room number for each vertex, therefore you could create maps like the flattened dodecahedron in the image to the left.


Strategy

Gregory Yob envisioned that people would use the maps and then carefully narrow down where the Wumpus must be before killing it, but he says that it turned out that people preferred to chase the Wumpus instead. Your are free to choose the best strategy for yourself.

Interestingly work was done on 'Computer Assisted Instruction' at MIT to create a Wumpus Advisor program which would offer advice to a player as to how to choose the best move in a game. Thanks to Martin on comp.os.cpm for finding that report.

Fixing the Version on the Walnut Creek CD

The version of Hunt the Wumpus on the Walnut Creek CD is a 'translation' by Paul H. Gilliam into Pascal/Z of the BASIC version of 'Wumpus 2' published in More Basic Computer Games (1979). Ideally it requires a terminal compatible with an ADM-3A, however if you don't have one and don't want to alter the source code, it should still work pretty well apart from throwing up the odd control character. It is also works with 8080 processors.

Unfortunately, the copy on the Walnut Creek CD has three problems:

  • 'CAVE3' is missing and to compound problems the BASIC listing published has an error for room 10, which I worked out should read 5,1,14.
  • The 'CAVE?' files are all using Unix line endings and therefore fail when read by the program.
  • The text files are not terminated by a proper end of file CTRL-Z (1Ah) character.

In addition 'CAVE5', the 'One Way Lattice', is different from the published version for some reason, but I have drawn the cave and it is a correct version, in that it has the same properties, even though the numbers are different.

I have therefore corrected these problems and have released wumpus.lbr.

Video of Hunt the Wumpus

Hunt the Wumpus can be seen being played on a C128 running CP/M in the video below.

Creative Commons License
Hunt the Wumpus on CP/M by Lawrence Woodman is licensed under a Creative Commons Attribution 4.0 International License.

Related Articles

Backgammon: The Peelgrunt Game of Gammon IV on CP/M

My favourite traditional board game is Backgammon and the best version I have found for CP/M is The Peelgrunt Game of Gammon IV, v2.0 released 1st April 1986 by David C. Oshel. It is available on the ...   Read More

Mission: Impossible on CP/M

Mission: Impossible simulates a foreign espionage mission based on the TV series. Your mission, should you decide to accept it, is to recover the objects or person taken by enemy agents and hidden in ...   Read More

Instrument Flight Simulator on CP/M

Instrument Flight Simulator is a text mode flight simulator for CP/M which uses standard ASCII characters to display an instrument panel for the plane. The aim of the game is to land the aircraft safe...   Read More

DABAR: A Hebrew Vocabulary Drill System on CP/M

I recently came across an interesting program called DABAR to drill Hebrew vocabulary. The program works in a similar way to flash cards, by displaying a word in Hebrew and then asking for its English...   Read More

DIR Alternatives on CP/M

There are lots of great alternatives to the standard CP/M DIR command, which add extra functionality and combine features that normally have to be accessed through other CP/M commands such as STAT or S...   Read More

Sign up to get new articles straight to your inbox.

Delivered by FeedBurner

Comments

blog comments powered by Disqus