Colossal Cave Adventure
|Colossal Cave Adventure|
|Genre(s)||Adventure, interactive fiction|
Colossal Cave Adventure (also known as Adventure or ADVENT) is a text-based adventure game, released in 1976 by developer Will Crowther for the PDP-10 mainframe computer. It was expanded upon in 1977 by Don Woods. In the game, the player explores a cave system rumored to be filled with treasure and gold. The game is composed of dozens of areas, and the player moves between these areas and interacts with objects in them by typing one- or two-word commands which are interpreted by the game's natural language input system. The program acts as a narrator, describing the player's location and the results of the player's attempted actions. It is the first well-known example of interactive fiction, as well as the first well-known adventure game, for which it was also the namesake.
The original game, written in 1975 and 1976, was based on Crowther's maps and experiences caving in Mammoth Cave in Kentucky, the longest cave system in the world, and was intended in part to be accessible to non-technical players such as his two daughters. Woods' version expanded the game in size and increased the number of fantasy elements present in it, such as a dragon and magic spells. Both versions, typically played over teleprinters connected to mainframe computers, were spread around the nascent ARPANET, the precursor to the Internet, which Crowther was involved in developing.
Colossal Cave Adventure was one of the first teletype games and was massively popular in the computer community of the late 1970s, with numerous ports and modified versions being created based on Woods' source code. It directly inspired the creation of numerous games, including Zork (1977), Adventureland (1978), Mystery House (1980), Rogue (1980), and Adventure (1980), which went on to be the foundations of the interactive fiction, adventure, roguelike, and action-adventure genres. It also influenced the creation of the MUD and computer role-playing game genres. It has been noted as one of the most influential video games, and in 2019 was inducted into the World Video Game Hall of Fame by The Strong and the International Center for the History of Electronic Games.
Colossal Cave Adventure is a text-based adventure game wherein the player explores a mysterious cave that is rumored to be filled with treasure and gold. The player must explore the cave system and solve puzzles by using items that they find to obtain the treasures and leave the cave. The player types in one- or two-word commands to move their character through the cave system, interact with objects in the cave, pick up items to put into their inventory, and perform other actions. The allowable commands are contextual to the area, or room, the player is in; for example, "get lamp" only has an effect if there is a lamp in the area. There are dozens of rooms, each of which has a name such as "Debris Room" and a description, and may contain objects or obstacles. The program acts as a narrator, describing to the player their location in the cave and the results of certain actions. If it does not understand the player's commands, it asks for the player to retype their actions. The program's replies are typically in a humorous, conversational tone, much as a Dungeon Master would use in leading players in a tabletop role-playing game.
The original 1976 version of the game contains five treasures which can be collected. Although it is based on a real cave system, it contains a few fantasy elements such as a crystal bridge, magic words, and axe-wielding dwarves. The player can die by falling into a pit or being killed by the dwarves, but otherwise the game has no ending or goal beyond finding the treasures. The 1977 version of the game, upon which later versions were based, adds ten more treasures and more fantasy elements. It also adds a points system, whereby completing certain goals earns a predetermined number of points. The ultimate goal is to earn the maximum number of points—350, in the 1977 version—which involves finding all the treasures in the game and safely leaving the cave.
Crowther's original version
Colossal Cave Adventure was originally created by William Crowther in 1975 and 1976. Crowther and his ex-wife Patricia were both programmers and cavers and had extensively explored Mammoth Cave in Kentucky, the longest cave system in the world, in the early 1970s as part of the Cave Research Foundation. In 1972, Patricia led the expedition that found a connection between Mammoth Cave and the larger Flint Ridge Cave System. In addition to caving, the pair produced vector map surveys of the cave: they transcribed the survey data of the cave from "muddy little books" into a teleprinter terminal in their house, which could send and print messages from programs running on the central computer and was connected to a PDP-1 mainframe computer at Bolt, Beranek and Newman (BBN) where William Crowther worked. This data was then fed into a program developed by the pair that generated plotting commands onto punched tape, which were then fed into a Honeywell 316 minicomputer attached to a Calcomp drum plotter at BBN to print paper maps. These maps were some of the earliest computer-drawn maps of caves.
In 1975, after he and Patricia divorced, William Crowther stopped caving with the Cave Research Foundation. Driven by what he later described as an increase in spare time combined with missing his two daughters, he began working on a text-based game in Fortran on BBN's PDP-10 mainframe, interfacing through a teletype printer, that they could play. He combined his memories and maps of the Mammoth Cave system, particularly a 1975 map of the Bedquilt area of the caves, including Colossal Cavern, with elements of the Dungeons & Dragons campaigns that he played with friends to design a game around exploring a cave for treasure. Crowther wanted the game to be accessible and not intimidating to non-technical players such as his children, and so developed a natural language input system to control the game so that it would be "a thing that gave you the illusion anyway that you'd typed in English commands and it did what you said". Crowther later commented that this approach allowed the game to appeal to both non-programmers and programmers alike, as in the latter case, it gave programmers a challenge of how to make "an obstinate system" perform in a manner they wanted it to. This approach was also developed to allow the game to be played on a teletype printer, rather than rely on user interface elements used in programs designed for monitors.
The initial version of the game was about 700 lines of code, plus another 700 lines of data such as descriptions for 66 rooms, navigational messages, 193 vocabulary words, and miscellaneous messages. Once the game was complete, in early 1976, Crowther showed it off to his co-workers at BBN for feedback, and then considered his work on the game finished, leaving the compiled game on the mainframe before taking a month off for vacation. According to one of Crowther's then-coworkers in 2007, "once it was working, Will wasn't very interested in perfecting or expanding it." Crowther's work at BBN was in developing ARPANET, one of the first networks of computers and a precursor to the Internet, and the PDP-10 mainframe was part of that network. During his vacation, others found the game and it was distributed widely across the network to computers at other companies and universities, which surprised Crowther on his return. The game did not have an explicit title in it, simply stating "WELCOME TO ADVENTURE!!" as a part of the opening message and having a file name of ADVENT; it was referred to as both Adventure and Colossal Cave Adventure, with the latter becoming the more common name over time. Most computer terminals at the time did not have monitors, and players would instead play the game over teleprinters connected to the mainframe.
One person who discovered the game was Don Woods, a graduate student at Stanford University. Woods found the game on a PDP-10 at the Stanford Medical School and wanted to expand upon the game. He contacted Crowther to gain access to the source code by emailing "crowther" at every domain that existed on the ARPANET. Woods built upon Crowther's code, including more high fantasy-related elements such as a dragon. He changed the puzzles, adding additional elements and complexities, and added new puzzles and features such as a pirate that roams the map and steals treasure from the player or objects that could exist in multiple states. He also introduced a scoring system within the game and added ten more treasures to collect in addition to the five in Crowther's original version. According to cavers who have played the game, much of the original version of the game matches the Bedquilt section of Mammoth Cave with some passages removed for gameplay purposes, though Woods' additions do not as he had never been there. According to William Mann, a caving compatriot of Crowther who played both versions when they were developed, Crowther was focused on creating the cave system as a setting for a game, while Woods was interested in making a game and not in replicating the feeling of caving.
Woods' version, released in 1977, expanded Crowther's game to approximately 3000 lines of code and 1800 lines of data, growing to 140 map locations, 293 vocabulary words, and 53 objects. Woods also added access controls to the game, allowing mainframe administrators to restrict the game from running during business hours. Woods began working on the game in March 1977; by May his version was complete enough to release, and was soon attracting attention around the United States. Woods continued releasing updated editions in Fortran until 1995. Crowther later said that Woods' bringing fantasy elements earlier into the gameplay was an improvement to his version, though his daughters also recall him telling them when they were frustrated at puzzles in the game that it was one of Woods' additions, not his.
Crowther did not distribute the source code to his version to anyone else, and it was later believed to be lost until it was rediscovered on an archive of Woods' student account at the Stanford Artificial Intelligence Laboratory in 2005. Woods, however, distributed the code to his version alongside the compiled executable. Woods' 1977 version became the more recognizable and widespread version of Colossal Cave Adventure, in part due to its wider code availability, as it led to several other variants of the game being produced.
Both Crowther's and Woods' version were designed to run on the PDP-10 and used features unique to that architecture, meaning that the program could not be easily moved to other systems, even those that could run Fortran programs. One of the first efforts to port the code to other languages or systems was by James Gillogly of the RAND Corporation in 1977. Gillogly, with agreement from Crowther and Woods, spent several weeks porting the code to the C programming language to run on the more generic Unix architecture. It can still be found as part of the BSD Operating Systems distributions, or as part of the "bsdgames" package under most Linux distributions, under the command name "adventure". Bob Supnik of Digital Equipment Corporation also ported the game in Fortran to the PDP-11 minicomputer in mid-1977, spreading it to other minicomputer systems. Afterwards, numerous other ports were made of the game to different languages and systems, sometimes identified by the number of points available in the game. There were enough ports and variants and alternate takes of the game by 1982 that an article in Your Computer described the entire set of games wherein the player enters short commands to move between set areas as "Adventure games", and provided code for the ZX81 computer for an "Adventure-writing kit" program that could be used to generate a game with that gameplay. In 2017, Eric S. Raymond created a port for modern computers of Woods' 1995 version of the game as Open Adventure and released the source code under an open-source license with permission from Crowther and Woods.
Commercial versions of the game were also released. Microsoft published a version titled Microsoft Adventure in 1979 for the Apple II Plus and TRS-80 computers, and again in 1981 for MS-DOS as a launch title for IBM PCs, one of the few software programs and the only game at launch. The Software Toolworks released The Original Adventure for IBM PCs in 1981; endorsed by Crowther and Woods in exchange for a nominal payment, it was the only version for which they received any money. Level 9 Computing released multiple versions of the game for different computer platforms under the name Colossal Adventure, beginning with a version in 1982 for the Nascom that includes an entire extra section where the player saves elves from flooding caves, as well as later versions that include pictures of the areas.
In 2022, Ken and Roberta Williams announced that their new company Cygnus Entertainment was making a 3D version of the game, under the title Colossal Cave 3D Adventure. It is planned for release in mid-2022, for Windows, macOS, and Nintendo Switch, and will support the Oculus Quest 2 virtual reality headset.
Colossal Cave Adventure is considered one of the most influential video games. In 2019, it was inducted into the World Video Game Hall of Fame by The Strong and the International Center for the History of Electronic Games. The game is the first well-known example of interactive fiction and established conventions that have since become standard in interactive fiction titles, such as the use of shortened cardinal directions for commands like "e" for "east", as well as inspiring the contents of the fiction titles themselves. The game is the namesake and the first well-known example of an adventure game, as it combined the interactivity of computer programs with the storytelling of literature or role-playing games such as Dungeons & Dragons, despite its lack of linear plot. The only text adventure game known to precede it is Wander from 1974, which did not have the spread or influence of Adventure.
Colossal Cave Adventure was immensely popular among the small computer-using population of the time. Historian Alexander Smith described it as "ubiquitous" on computer networks by the end of 1977, alongside Star Trek and Lunar Lander. Computer game programmers of the time were greatly inspired by the game; according to game designer and creator of the Inform interactive fiction language Graham Nelson, "for the five years to 1982 almost every game created was another 'Advent'". Several of these games were the initial releases of companies that would go on to become key innovators for the early adventure game genre. These included Zork (1977)—which began development within a month of the release of Woods' version—by the team of Dave Lebling, Marc Blank, Tim Anderson, and Bruce Daniels at MIT and eventually forming Infocom; Adventureland (1978) by Scott Adams of Adventure International; and Mystery House (1980) by Roberta and Ken Williams of On-Line Systems. The 1980 Atari 2600 video game Adventure was an attempt to create a graphical version of Colossal Cave Adventure, and itself became the first known example of an action-adventure game and introduced the fantasy genre to video game consoles. Carmen Sandiego, an early educational game series begun in 1985, was inspired by transforming the idea of moving around the caverns of Colossal Cave Adventure looking for treasure into moving around the globe searching for clues.
In addition to inspiring adventure games, as described by Matt Barton in Dungeons and Desktops: The History of Computer Role-Playing Games, Colossal Cave Adventure demonstrated the "creation of a virtual world and the means to explore it", and the inclusion of monsters and simplified combat. For this, it is considered a precursor of computer role-playing games, though it was lacking several elements of the genre. Glenn Wichman and Michael Toy name the game as an influence for their game Rogue in 1980, which went on to become the namesake of the roguelike genre. Colossal Cave Adventure also inspired the development of online multiplayer games like MUDs, the precursors of the modern-day massively multiplayer online role-playing game.
Two phrases from the game have gone on to have a lasting impact in programming and video games. "Xyzzy" is a magic word that teleports the player between two locations ("inside building" and the "debris room"). It was added by Crowther at a request by his sister when play-testing the game to skip the early section of the game. As an in-joke tribute to Adventure, many later games and computer programs include a hidden "xyzzy" command, the results of which range from the humorous to the straightforward. Crowther stated that for its purpose in the game, "magic words should look queer, and yet somehow be pronounceable", leading him to select "xyzzy". Additionally, in the game there is a maze created by Crowther where each of ten room descriptions was exactly the same: "YOU ARE IN A MAZE OF TWISTY LITTLE PASSAGES, ALL ALIKE." The layout of this "all alike" maze was fixed, so the player would have to figure out how to map the maze. The phrase "you are in a maze of twisty little passages, all alike" has become memorialized and popularized in the hacker culture, where "passages" may be replaced with a different word, as the situation warrants. This phrase came to signify a situation when whatever action is taken does not change the result.
Colossal Cave Adventure has continued to be referenced by media for decades since. The 2003 book on the history of interactive fiction Twisty Little Passages was named after the "all alike" maze, and the 2010 documentary on the history of text adventure games Get Lamp is named for the command to get one of the first objects the player encounters and must carry to solve the game. The 2013 game Kentucky Route Zero's third act draws direct inspiration from the game, showing a computer simulation set up inside of a cave, which is itself depicting a massive cave system. The game is also a key plot point in an episode of the 2014 TV series Halt and Catch Fire, a period drama taking place in the early days of the personal computing revolution. In it, the chief software designer uses the game as a competency test to determine which programmers will remain on the team. As a tie-in, a fully playable version of the game augmented with player hints and artwork revealed when certain locations are visited was made available on the show's official website.
- Jerz, Dennis (2007). "Somewhere Nearby is Colossal Cave: Examining Will Crowther's Original "Adventure" in Code and in Kentucky". Digital Humanities Quarterly. 1 (2). ISSN 1938-4122. Archived from the original on June 16, 2016.
- Dibbel, pp. 56–57
- Lessard, Jonathan (2013). "Adventure before adventure games: a new look at Crowther and Woods's seminal program". Games and Culture. 8 (3): 119–135. doi:10.1177/1555412012473364. S2CID 145798924.
- Evans, pp. 83–94 Archived 2022-01-15 at the Wayback Machine
- Peterson, pp. 187–188
- Montfort, pp. 91–92
- Crowther, William (March 1977). Colossal Cave Adventure source code. Archived from the original on March 7, 2016. Retrieved January 8, 2022 – via Dennis Jerz archive.
- Edwards, Benj (April 4, 2017). "The Forgotten World of Teletype Computer Games". PC Magazine. Future. Archived from the original on December 1, 2021. Retrieved January 9, 2022.
- Peterson, pp. 188–190
- Smith, pp. 383–385
- Barton, Stacks, pp. 36–39
- Crowther, William; Woods, Don (1977). Adventure Fortran source code (tar.gz). Retrieved January 8, 2022 – via Interactive Fiction Archive.
- Holmevik, p. 97
- "adventure". OpenBSD manual page server. OpenBSD. Archived from the original on January 8, 2022. Retrieved January 8, 2022.
- Supnik, Bob (October 25, 2006). Bob Supnik Interview from Get Lamp (Video). Jason Scott. Retrieved August 29, 2022.
- Raymond, Eric S. (April 19, 2019). "A brief history of Colossal Cave Adventure". catb.org. Archived from the original on April 18, 2021. Retrieved January 8, 2022.
- Thompson, Graham (April 1982). "Adventure". Your Computer. Vol. 2, no. 4. IPC Electrical-Electronic Press. pp. 24–27. ISSN 0263-0885.
- Chirgwin, Richard (May 30, 2017). "Seminal game 'Colossal Cave Adventure' released onto GitLab". The Register. Situation Publishing. Archived from the original on June 2, 2017. Retrieved May 30, 2017.
- "Microsoft Consumer Products Continuing the Microsoft Tradition". Byte. Vol. 4, no. 12. McGraw Hill. December 1979. p. 179. ISSN 0360-5280.
- Lemmons, Phil (October 1981). "The IBM Personal Computer / First Impressions". Byte. Vol. 6, no. 10. McGraw Hill. p. 34. ISSN 0360-5280.
- Bilofsky, Walt. "Software Publisher". The Software Toolworks. Archived from the original on November 11, 2016. Retrieved September 30, 2014.
- "The Next Level". Retro Gamer. Vol. 1, no. 6. Live Publishing. October 2004. p. 56. ISSN 1742-3155.
- Bailey, Kat (March 21, 2022). "Ken And Roberta Williams Are Remaking Colossal Cave Adventure". IGN. Red Ventures. Retrieved March 21, 2022.
- "The most important PC games of all time". PC Gamer. Future. January 17, 2016. Archived from the original on April 30, 2019. Retrieved January 19, 2016.
- "Colossal Cave Adventure". The Strong National Museum of Play. The Strong. Archived from the original on January 8, 2022. Retrieved January 8, 2021.
- Sloane, pp. 57–58, 77
- Montfort, p. 95
- Demaria, pp. 134–135
- Smith, p. 461
- Buchanan, Levi (August 26, 2008). "Top 10 Best-Selling Atari 2600 Games". IGN. Ziff Davis. Archived from the original on May 20, 2021. Retrieved January 8, 2022.
- "The Players Guide to Fantasy Games". Electronic Games. Vol. 2, no. 16. Reese Publishing Company. June 1983. p. 47. ISSN 0730-6687.
- Craddock, David L. (September 15, 2017). "The Making Of Carmen Sandiego". Kotaku. G/O Media. Archived from the original on September 15, 2017. Retrieved September 15, 2017.
- Craddock, ch. 2: "Procedural Dungeons of Doom: Building Rogue, Part 1"
- Brewer, Nathan (July 7, 2016). "Going Rogue: A Brief History of the Computerized Dungeon Crawl". Insights. IEEE USA. Archived from the original on September 19, 2016. Retrieved September 15, 2016.
- Heron, Michael (August 3, 2016). "Hunt The Syntax, Part One". Game Developer. Informa. Archived from the original on January 8, 2022. Retrieved January 8, 2022.
- Raymond, Steele, p. 496
- Leiba, Barry (March 9, 2011). "You're in a Maze of Twisty Little Passages, All Alike". Science 2.0. Archived from the original on March 5, 2016. Retrieved February 22, 2016.
- "Twisty Little Passages". MIT Press. Archived from the original on November 14, 2021. Retrieved February 1, 2022.
- Haff, Gordon (August 10, 2010). "'Get Lamp' illuminates the text adventure game". CNET. Red Ventures. Archived from the original on February 24, 2016. Retrieved February 23, 2016.
- Solberg, Dan (February 5, 2020). "As Above, So Below: Touring Mammoth Cave with Kentucky Route Zero's Jake Elliott". Electronic Gaming Monthly. Archived from the original on January 8, 2022. Retrieved January 8, 2022.
- Bishop, Brian (June 30, 2014). "Close Up: 'Halt and Catch Fire' and the smallest TV in the world". The Verge. Vox Media. Archived from the original on March 4, 2016. Retrieved February 22, 2016.
- "Halt and Catch Fire Exclusives: Colossal Cave Adventure". AMC. 2014. Archived from the original on September 5, 2021. Retrieved May 31, 2018.
- Barton, Matt; Stacks, Shane (2019). Dungeons and Desktops: The History of Computer Role-Playing Games (2nd ed.). CRC Press. ISBN 978-1-138-57464-9.
- Craddock, David L. (2015). "Procedural Dungeons of Doom: Building Rogue, Part 1". In Magrath, Andrew (ed.). Dungeon Hacks: How NetHack, Angband, and Other Roguelikes Changed the Course of Video Games. Press Start Press. ISBN 978-0-692-50186-3.
- DeMaria, Rusel; Wilson, Johnny L. (2003). High Score!: The Illustrated History of Electronic Games (2nd ed.). McGraw Hill/Osborne. ISBN 978-0-07-223172-4.
- Dibbell, Julian (1998). My Tiny Life: Crime and Passion in a Virtual World. Holt Paperbacks. ISBN 978-0-8050-3626-8. LCCN 98-13636.
- Evans, Claire L. (2018). Broad Band: The Untold Story of the Women Who Made the Internet. Penguin Group. ISBN 978-0-593-32944-3.
- Holmevik, Jan Rune (2012). Inter/vention: Free Play in the Age of Electracy. MIT Press. ISBN 978-0-262-30090-2.
- Montfort, Nick (2003). Twisty Little Passages: An Approach To Interactive Fiction. MIT Press. ISBN 978-0-262-13436-1.
- Peterson, Dale (1983). Genesis II, Creation and Recreation with Computers. Reston Publishing Company. ISBN 978-0-8359-2434-4.
- Raymond, Eric S.; Steele, Guy L., eds. (1996). The New Hacker's Dictionary (3rd ed.). MIT Press. ISBN 978-0-262-68092-9.
- Sloane, Sarah (2000). Digital Fictions: Storytelling in a Material World. Greenwood Publishing Group. ISBN 978-1-56750-482-8.
- Smith, Alexander (2019). They Create Worlds: The Story of the People and Companies That Shaped the Video Game Industry, Vol. I: 1971-1982. CRC Press. ISBN 978-0-429-75261-2.
- Colossal Cave Adventure at the Interactive Fiction Database with downloadable versions for many platforms
- Colossal Cave Adventure at the Interactive Fiction Wiki with downloadable versions for many platforms
- Original source code for Crowther's 1976 version
- Open Adventure source code of a port of the 1995 Crowther and Woods version