ArticleslgStudy

computer science

Hunt the Wumpus

Hunt the Wumpus is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Hunt the Wumpus rather than just read about it. In short: Hunt the Wumpus is a text-based adventure game developed by Gregory Yob in 1973. In the game, the player moves through a series of connected caves, arranged as the vertices of a dodecahedron, as they hunt a monster named the Wumpus.

Hunt the Wumpus — main illustration
Hunt the Wumpus — illustration

Key takeaways

  • Hunt the Wumpus belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Hunt the Wumpus to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Hunt the Wumpus from memory before moving on to harder problems.

Reference excerpt

Hunt the Wumpus is a text-based adventure game developed by Gregory Yob in 1973. In the game, the player moves through a series of connected caves, arranged as the vertices of a dodecahedron, as they hunt a monster named the Wumpus. The turn-based game has the player trying to avoid fatal bottomless pits and "super bats" that will move them around the cave system; the goal is to fire one of their "crooked arrows" through the caves to kill the Wumpus. Yob created the game in early 1973 due to his annoyance at the multiple hide-and-seek games set in caves in a grid pattern, and multiple variations of the game were sold via mail order by Yob and the People's Computer Company. The source code to the game was published in Creative Computing in 1975 and republished in The Best of Creative Computing the following year. The game sparked multiple variations and expanded versions and was ported to several systems, including the TI-99/4A home computer. It has been cited as an early example of the survival horror genre, and was listed in 2012 on Time's All-Time 100 greatest video games list. The Wumpus monster has appeared in several forms in media since 1973, including other video games, a novella, and Magic: The Gathering cards.

Gameplay

Hunt the Wumpus is a text-based adventure game set in a series of caves connected by tunnels. In one of the twenty caves is a "Wumpus", which the player is attempting to kill. Additionally, two of the caves contain bottomless pits, while two others contain "super bats" which will pick up the player and move them to a random cave. The game is turn-based; each cave is given a number by the game, and each turn begins with the player being told which cave they are in and which caves are connected to it by tunnels. The player then elects to either move to one of those connected caves or shoot one of their five "crooked arrows", named for their ability to change direction while in flight. Each cave is connected to three others, and the system as a whole is equivalent to a dodecahedron. The caves are in complete darkness, so the player cannot see into adjacent caves; instead, upon moving to a new empty cave, the game describes if they can smell a Wumpus, hear a bat, or feel a draft from a pit in one of the connected caves. Entering a cave with a pit ends the game due to the player falling in, while entering the cave with the Wumpus startles it; the Wumpus will either move to another cave or remain and kill the player. If the player chooses to fire an arrow, they first select how many caves, up to five, that the arrow will travel through, and then enters each cave that the arrow moves through. If the player enters a cave number that is not connected to where the arrow is, the game picks a valid option at random. If the arrow hits the player while it is travelling, the player loses; if it hits the Wumpus, they win. If the arrow does not hit anything, then the Wumpus is startled and may move to a new cave; unlike the player, the Wumpus is not affected by super bats or pits. If the Wumpus moves to the player's location, they lose.

Development In early 1973, Gregory Yob was looking through some of the games published by the People's Computer Company (PCC), and grew annoyed that there were multiple games, including Hurkle and Mugwump, that had the player "hide and seek" in a 10 by 10 grid. Yob was inspired to make a game that used a non-grid pattern, where the player would move through points connected through some other type of topology. Yob came up with the name "Hunt the Wumpus" that afternoon, and decided from there that the player would traverse through rooms arranged in a non-grid pattern, with a monster called a Wumpus somewhere in them.

Yob chose a dodecahedron because it was his favorite Platonic solid, and because he had once made a kite shaped like one. From there, Yob added the arrows to shoot between rooms, terming it the "crooked arrow" as it would need to change directions to go through multiple caves, and decided that the player could only sense nearby caves by smell, as a light would wake the Wumpus up. He then added the bottomless pits, and a couple days later the super bats. Finally, feeling that players would want to create a map, he made the cave map fixed and gave each cave a number. Yob later claimed that, to his knowledge, most players did not create maps of the cave system, nor follow his expected strategy of carefully moving around the system to determine exactly where the Wumpus was before firing an arrow. While playtesting the game, Yob found it unexciting that the Wumpus always stayed in one place, and so changed it to be able to move. He then delivered a copy of the game, written in BASIC, to the PCC. In May 1973, one month after he had finished coding the game, Yob went to a conference at Stanford University and discovered that in the section of the conference where the PCC had set up computer terminals, multiple players were engrossed in playing Wumpus, making it, in his opinion, a hit game. The PCC first mentioned the game in its newsletter in September as a "cave game" that would be available to order through them soon, and gave it a full two-page description in its next issue in November of the same year. Tapes containing Wumpus were sold via mail order by both the PCC and Yob himself. The PCC description was republished along with source code in its book What to Do After You Hit Return in 1977, while a description of the game and its source code was published in Creative Computing in its October 1975 issue, and republished in The Best of Creative Computing the following year. It also appeared in other books of BASIC games, such as Computer Programs in BASIC in 1981.

… excerpt ends here. Continue reading the full article.

Illustrations

Hunt the Wumpus: Gameplay of Hunt the Wumpus, showing moving and shooting arrows
Gameplay of Hunt the Wumpus, showing moving and shooting arrows
Hunt the Wumpus illustration
Hunt the Wumpus illustration

Worked examples

Example 1 — a first encounter with Hunt the Wumpus

Start with the simplest possible case. Write down what Hunt the Wumpus claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Hunt the Wumpus before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Hunt the Wumpus ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Hunt the Wumpus

In research
Hunt the Wumpus appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Hunt the Wumpus in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Hunt the Wumpus is common in secondary-school and first-year university syllabi. It links to neighbouring topics 1970s horror video games, 1973 video games, Adventure games, so understanding it makes those chapters shorter.
In everyday life
Look for Hunt the Wumpus outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Hunt the Wumpus” →

How to study Hunt the Wumpus in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Hunt the Wumpus means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Hunt the Wumpus out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Hunt the Wumpus in simple terms?

Hunt the Wumpus is a text-based adventure game developed by Gregory Yob in 1973. In the game, the player moves through a series of connected caves, arranged as the vertices of a dodecahedron, as they hunt a monster named the Wumpus.

Why does Hunt the Wumpus matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Hunt the Wumpus?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Hunt the Wumpus.

Tags

  • 1970s horror video games
  • 1973 video games
  • Adventure games
  • Mainframe games
  • Public-domain software with source code
  • Single-player video games
  • TI-99/4A games
  • Video games developed in the United States
  • Video games with textual graphics

Keep exploring