ArticleslgStudy

astronomy

Dog Star Adventure

Dog Star Adventure is a astronomy 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 Dog Star Adventure rather than just read about it. In short: Dog Star Adventure is a text adventure game written by Lance Micklus in TRS-80 BASIC and published as the cover article in the May 1979 issue of SoftSide magazine. It is historically notable as the first example of the source code to a text adventure being published, and as a result, many later text adventures are based on its concepts.

Dog Star Adventure — main illustration
Dog Star Adventure — illustration

Key takeaways

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

Reference excerpt

Dog Star Adventure is a text adventure game written by Lance Micklus in TRS-80 BASIC and published as the cover article in the May 1979 issue of SoftSide magazine. It is historically notable as the first example of the source code to a text adventure being published, and as a result, many later text adventures are based on its concepts. The game takes place in the Star Wars universe, loosely following the plot of the movie during the action that takes place on the Death Star. Names of the various characters are changed to avoid copyright issues. The player has to gather a number of items to repair their ship, rescue princess Leya, and escape without being detected by the many Roche Soldiers.

Release The game was simultaneously released on cassette tape by SoftSide publishing spin-off, The Software Exchange. A port to the Commodore PET was made by David Malmberg in 1980, with most of the names returned to their Star Wars versions. The original source was republished in The Captain 80 Book of BASIC Adventures in 1981, and again in the June 1982 issue of Computer and Video Games. It was also sold by Adventure International under the name Death Planet: The Dog Star Adventure.

Gameplay Dog Star is based on a two-word parser, with the user entering verb/noun phrases like TAKE CHEESEBURGER. A small number of commands can be shortened to a single word, like NORTH, or even shorter, N. The game is played by the player issuing commands to move about the game map and collect various items. The game begins with the player in control of a robot hiding in their spaceship. The ship is disabled and trapped within a hangar. The player needs to collect several items in order to win, including money, the enemy battle plans, and Princess Leia, the leader of the Freedom Fighters. These are scattered around the game map, some of them protected by various puzzles or traps. The game had a number of additions to the basic two-word model. Among these was a cheeseburger which had to be fed to a security robot. The cheeseburger cooled off over time, forcing the user to complete this task before that occurred, a concept Micklus refers to as a "time bomb". The game also included a storage depot filled with "all kinds of things", including many of the items needed to complete the game. The player had to find out what items to TAKE by carefully reading hints spread through the game. Finally, the game also included a feature from the classic Hunt the Wumpus: in certain locations the game would tell the user about nearby sounds, which the player had to use to avoid dangerous encounters.

Development

Micklus had written several commercial programs before Dog Star, mostly for the TRS-80. Micklus credits the original Colossal Cave Adventure for inspiring him to write Dog Star. Adventure was written in FORTRAN on the PDP-10, a system with considerably more memory than early microcomputers. The work creating Dog Star was primarily an effort porting these basic concepts to BASIC while keeping within the small amount of available memory. The game itself is very small and simple as a result. Dog Star was written in the very limited TRS-80 Level I BASIC, so many of the techniques used in the game were easily adapted to other dialects of BASIC. The key concept is the way the game uses an array to describe the room layouts, with different numbers representing various objects or connections to other rooms. Since Model I BASIC had only a single array, storing all of the required data required some clever coding. In other BASICs with multiple arrays, this was much easier. The basic idea is that the map is drawn out on paper and each location on it, or "room", is assigned a number. That number is used to retrieve information about the room or the items within it. One or more arrays then hold the game state. For instance, a room in Dog Star allowed six possible exits, up, down and the four cardinal directions. Any given room might have one or more of these exits connecting to other rooms around it. This means there are 26 = 64 possible variations, which can be represented as a number between 0 (no exits) and 63 (all exits are available) using bit manipulation. So for a given room, say room 10, the game can store the exits in slot 10 in the EXIT array, the name of the room, "docking bay", in slot 10 in the NAME array, a longer description, "in the docking bay, the ship sits in the center", in slot 10 of the DESC array, and any items in that location in slot 10 of the ITEM array. If the user picks up an item it is removed from slot 10 of ITEM, and can be added to any other slot if the user drops that item in another location. These concepts were widely copied in the early microcomputer field, and can be found almost verbatim in many other adventures of the era, including Survival.

References

Bibliography Scott, Jason (12 November 2006). GET LAMP: Lance Micklus Interview. Micklus, Lance (May 1979). "Dog Star Adventure". SoftSide: 8–23. Rush, Stewart (January 1982). "Survival". Creative Computing: 142–153.

External links SoftSide Magazine Issue 08 (Dogstar Adventure) at the Internet Archive Dog Star Adventure in the Interactive Fiction Database

Illustrations

Dog Star Adventure: The PET conversion changed most of the terminology back to Star Wars, and added this character graphics splash screen.
The PET conversion changed most of the terminology back to Star Wars, and added this character graphics splash screen.

Worked examples

Example 1 — a first encounter with Dog Star Adventure

Start with the simplest possible case. Write down what Dog Star Adventure claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In astronomy, 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 Dog Star Adventure 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 Dog Star Adventure 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 Dog Star Adventure

In research
Dog Star Adventure appears in astronomy 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 Dog Star Adventure 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
Dog Star Adventure is common in secondary-school and first-year university syllabi. It links to neighbouring topics 1970s interactive fiction, 1979 video games, Adventure games, so understanding it makes those chapters shorter.
In everyday life
Look for Dog Star Adventure 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 “Dog Star Adventure” →

How to study Dog Star Adventure in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Dog Star Adventure 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 Dog Star Adventure out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Dog Star Adventure in simple terms?

Dog Star Adventure is a text adventure game written by Lance Micklus in TRS-80 BASIC and published as the cover article in the May 1979 issue of SoftSide magazine. It is historically notable as the first example of the source code to a text adventure being published, and as a result, many later tex…

Why does Dog Star Adventure matter?

Because it connects several astronomy 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 Dog Star Adventure?

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 Dog Star Adventure.

Tags

  • 1970s interactive fiction
  • 1979 video games
  • Adventure games
  • Commercial video games with freely available source code
  • Commodore PET games
  • Software programmed in BASIC
  • Star Wars video games
  • TRS-80 games
  • Unauthorized video games
  • Video games developed in the United States

Keep exploring