Software:Colossal Cave Adventure

From HandWiki
Short description: 1976 video game
Colossal Cave Adventure
Introductory text and first command in Colossal Cave Adventure
Screenshot of gameplay (1977 version)
Developer(s)
  • William Crowther (1976 version)
  • Don Woods (1977 version)
Platform(s)PDP-10
Release
  • 1976 (Crowther)
  • 1977 (Crowther/Woods)
Genre(s)Adventure, interactive fiction
Mode(s)Single-player

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 locations, and the player moves between these locations 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; further, it was intended, in part, to be accessible to non-technical players, such as his two daughters. Woods's 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's 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.

Gameplay

Monitor showing Colossal Cave Adventure
Colossal Cave Adventure running on a PDP-11/34 with a monitor, showing the point system

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 location, or room, the player is in; for example, "get lamp" only has an effect if there is a lamp present. 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.[1] 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.[2]

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.[1][3] 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.[1]

Development

Crowther's original version

William Crowther
William Crowther in 2012

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.[4]

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.[1][3][5] 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.[1][5] 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".[6] 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.[6] 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.[3]

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.[1][7] 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.[1] Most computer terminals at the time did not have monitors, and players would instead play the game over teleprinters connected to the mainframe.[8]

Woods's modifications

Don Woods
Don Woods in 2010

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.[1][9] Woods built upon Crowther's code, introducing more high fantasy-related elements such as a dragon.[10][11] He changed the puzzles, adding new 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.[1] 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.[9] According to cavers who have played the game, much of Crowther's original version matches the Bedquilt section of Mammoth Cave with some passages removed for gameplay purposes, though Woods's additions do not as he had never been there.[1][4] 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.[1]

Woods's version, released in 1977, expanded Crowther's game to approximately 3,000 lines of code and 1,800 lines of data, growing to 140 map locations, 293 vocabulary words, and 53 objects.[12] Woods also added access controls to the game, allowing mainframe administrators to restrict the game from running during business hours.[1] 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.[1] Woods continued releasing updated editions in Fortran until 1995.[9] Crowther later said that Woods's bringing fantasy elements earlier into the gameplay was an improvement to his version, though Crowther's daughters also recall him telling them when they were frustrated at puzzles in the game that it was one of Woods's additions, not his.[1]

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's student account at the Stanford Artificial Intelligence Laboratory in 2005.[1] Woods, however, distributed the code to his version alongside the compiled executable. Woods's 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.[3][6]

Later versions

Monitor showing Colossal Cave Adventure
Unix version of the game on an Osborne 1 computer circa 1982

Both Crowther's and Woods's version were designed to run on the PDP-10 and used features unique to DECSYSTEMS-10 Fortran IV on 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 RAND Corporation researcher James Gillogly 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.[13] 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".[14] 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.[15] 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.[16] 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 locations 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.[17] In 2017, Eric S. Raymond created a port for modern computers of Woods's 1995 version of the game as Open Adventure and released the source code under an open-source license with permission from Crowther and Woods.[16][18]

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.[19][20] 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.[21] 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.[22]

A 3D remake of the game, under the title Colossal Cave, was released by Cygnus Entertainment as its first title in on January 19, 2023, for Windows, macOS, Linux, Nintendo Switch, PlayStation 5, Xbox Series X, and Meta Quest 2.[23] Designed by Ken and Roberta Williams, co-founders of Sierra Entertainment, the game was started as a hobby project by the pair during the COVID-19 pandemic, before being expanded into a full commercial product by a team of thirty.[24] It was intended by lead designer Roberta to be a recreation of how playing the game felt like to her in 1979.[25]

Legacy

Video games

Colossal Cave Adventure is considered one of the most influential video games.[26] 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.[27] 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.[28] 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.[1][3] The only text adventure game known to precede it is Wander from 1974, which did not have the spread or influence of Adventure.[10]

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.[10] 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'".[29] 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's version—first by the team of Dave Lebling, Marc Blank, Tim Anderson, and Bruce Daniels at MIT and later by Infocom; Adventureland (1978) by Scott Adams of Adventure International; and Mystery House (1980) by Roberta and Ken Williams of On-Line Systems.[1][28][30] 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.[31][32][33] 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.[34]

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.[11] For this, it is considered a precursor of computer role-playing games, though it was lacking several elements of the genre.[1][11] 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.[35][36] 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.[26][37]

Other media

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.[1] 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 straightforward to the humorous.[38] Crowther stated that for its purpose in the game, "magic words should look queer, and yet somehow be pronounceable", leading him to select "xyzzy".[1] 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.[6] 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.[39]

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.[40][41] 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.[42] 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.[43] 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.[44]

References

  1. 1.00 1.01 1.02 1.03 1.04 1.05 1.06 1.07 1.08 1.09 1.10 1.11 1.12 1.13 1.14 1.15 1.16 1.17 1.18 1.19 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. http://www.digitalhumanities.org/dhq/vol/001/2/000009/000009.html. 
  2. Dibbel, pp. 56–57
  3. 3.0 3.1 3.2 3.3 3.4 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. 
  4. 4.0 4.1 Evans, pp. 83–94
  5. 5.0 5.1 Peterson, pp. 187–188
  6. 6.0 6.1 6.2 6.3 Montfort, pp. 91–92
  7. Crowther, William (March 1977). Colossal Cave Adventure source code. http://www.icynic.com/~don/jerz/. Retrieved January 8, 2022. 
  8. Edwards, Benj (April 4, 2017). "The Forgotten World of Teletype Computer Games". Future. https://www.pcmag.com/news/the-forgotten-world-of-teletype-computer-games. 
  9. 9.0 9.1 9.2 Peterson, pp. 188–190
  10. 10.0 10.1 10.2 Smith, pp. 383–385
  11. 11.0 11.1 11.2 Barton, Stacks, pp. 36–39
  12. Crowther, William; Woods, Don (1977) (tar.gz). Adventure Fortran source code. http://mirror.ifarchive.org/if-archive/games/source/adv350-pdp10.tar.gz. Retrieved January 8, 2022. 
  13. Holmevik, p. 97
  14. "adventure". OpenBSD. https://man.openbsd.org/adventure.6. 
  15. Supnik, Bob (October 25, 2006). Bob Supnik Interview from Get Lamp (Video). Jason Scott. Retrieved August 29, 2022.
  16. 16.0 16.1 Raymond, Eric S. (April 19, 2019). "A brief history of Colossal Cave Adventure". http://www.catb.org/~esr/open-adventure/history.html. 
  17. Thompson, Graham (April 1982). "Adventure". Your Computer (IPC Electrical-Electronic Press) 2 (4): 24–27. ISSN 0263-0885. https://archive.org/details/your-computer-magazine-1982-04. 
  18. Chirgwin, Richard (May 30, 2017). "Seminal game 'Colossal Cave Adventure' released onto GitLab". Situation Publishing. https://www.theregister.co.uk/2017/05/30/eric_raymond_sets_colossal_cave_adventure_free/. 
  19. "Microsoft Consumer Products Continuing the Microsoft Tradition". Byte (McGraw Hill) 4 (12): 179. December 1979. ISSN 0360-5280. 
  20. Lemmons, Phil (October 1981). "The IBM Personal Computer / First Impressions". Byte (McGraw Hill) 6 (10): 34. ISSN 0360-5280. https://archive.org/stream/byte-magazine-1981-10/1981_10_BYTE_06-10_Local_Networks#page/n35/mode/2up. 
  21. Bilofsky, Walt. "Software Publisher". The Software Toolworks. http://www.toolworks.com/bilofsky/software.htm. 
  22. "The Next Level". Retro Gamer (Live Publishing) 1 (6): 56. October 2004. ISSN 1742-3155. https://archive.org/details/retro_gamer/RetroGamer_006/page/56/mode/2up. 
  23. Franzese, Tomas (January 16, 2023). "Ken and Roberta Williams are back to evolve the adventure game genre". https://www.digitaltrends.com/gaming/roberta-williams-ken-williams-interview-colossal-cave/. 
  24. Shuman, Sid (January 19, 2023). "Q&A with Roberta & Ken Williams, developers of reimagined Colossal Cave, out today". Sony Interactive Entertainment. https://blog.playstation.com/2023/01/19/qa-with-roberta-ken-williams-developers-of-reimagined-colossal-cave-out-today/. 
  25. Fyfe, Duncan (November 10, 2022). "Why Roberta Williams Came Out of Retirement to Remake a Beloved Text Adventure". Vice Media. https://www.vice.com/en/article/v7vq8x/why-roberta-williams-came-out-of-retirement-to-remake-a-beloved-text-adventure. 
  26. 26.0 26.1 "The most important PC games of all time". PC Gamer. Future. January 17, 2016. http://www.pcgamer.com/most-important-pc-games/. 
  27. "Colossal Cave Adventure". The Strong. https://www.museumofplay.org/games/colossal-cave-adventure/. 
  28. 28.0 28.1 Sloane, pp. 57–58, 77
  29. Montfort, p. 95
  30. Demaria, pp. 134–135
  31. Smith, p. 461
  32. Buchanan, Levi (August 26, 2008). "Top 10 Best-Selling Atari 2600 Games". Ziff Davis. http://retro.ign.com/articles/903/903024p1.html. 
  33. "The Players Guide to Fantasy Games". Electronic Games (Reese Publishing Company) 2 (16): 47. June 1983. ISSN 0730-6687. https://archive.org/stream/electronic-games-magazine-1983-06/Electronic_Games_Issue_16_Vol_02_04_1983_Jun#page/n45/mode/2up. 
  34. Craddock, David L. (September 15, 2017). "The Making Of Carmen Sandiego". G/O Media. https://kotaku.com/the-making-of-carmen-sandiego-1804490410. 
  35. Craddock, ch. 2: "Procedural Dungeons of Doom: Building Rogue, Part 1"
  36. Brewer, Nathan (July 7, 2016). "Going Rogue: A Brief History of the Computerized Dungeon Crawl". Insights. IEEE USA. http://insight.ieeeusa.org/insight/content/views/371703. 
  37. Heron, Michael (August 3, 2016). "Hunt The Syntax, Part One". Informa. https://www.gamedeveloper.com/design/hunt-the-syntax-part-one. 
  38. Raymond, Steele, p. 496
  39. Leiba, Barry (March 9, 2011). "You're in a Maze of Twisty Little Passages, All Alike". http://www.science20.com/staring_empty_pages/youre_maze_twisty_little_passages_all_alike-77025. 
  40. "Twisty Little Passages". https://mitpress.mit.edu/books/twisty-little-passages. 
  41. Haff, Gordon (August 10, 2010). "'Get Lamp' illuminates the text adventure game". CNET. Red Ventures. http://www.cnet.com/news/get-lamp-illuminates-the-text-adventure-game/. 
  42. Solberg, Dan (February 5, 2020). "As Above, So Below: Touring Mammoth Cave with Kentucky Route Zero's Jake Elliott". Electronic Gaming Monthly. https://egmnow.com/as-above-so-below-kentucky-route-zero/. Retrieved January 8, 2022. 
  43. Bishop, Brian (June 30, 2014). "Close Up: 'Halt and Catch Fire' and the smallest TV in the world". Vox Media. https://www.theverge.com/2014/6/30/5855632/close-up-halt-and-catch-fire-season-1-episode-5. 
  44. "Halt and Catch Fire Exclusives: Colossal Cave Adventure". AMC. 2014. https://www.amc.com/shows/halt-and-catch-fire/exclusives/colossal-cave-adventure. 

Sources

External links