Star Trek (1971 video game)
Source code for the title screen of the 1972 version of the game
|Developer(s)||Mike Mayfield, David H. Ahl, Bob Leedom|
|Platform(s)||Mainframe (Sigma 7, HP 2000C, Data General Nova)|
1971 (Sigma 7)
Oct 20, 1972 (HP 2000C)
Super Star Trek
1974 (Data General Nova)
Star Trek is a text-based strategy video game based on the Star Trek television series and originally developed by Mike Mayfield in 1971. In the game, the player commands the USS Enterprise on a mission to hunt down and destroy an invading fleet of Klingon warships. The player travels through the 64 quadrants of the galaxy to attack enemy ships with phasers and photon torpedoes in turn-based battles and refuel at starbases in order to eliminate all enemies before running out of time.
Mayfield originally wrote the game in the BASIC programming language at the end of high school for a SDS Sigma 7 mainframe computer with the goal of creating a game like Spacewar! (1962) that could be played with a teleprinter instead of a graphical display. He then rewrote it for the HP 2000C minicomputer in 1972, and it was included in Hewlett-Packard's public domain software catalog the following year. It was picked up from there by David H. Ahl, who ported it with Mary Cole to BASIC-PLUS and published the source code first in the Digital Equipment Corporation Edu newsletter and then along with other early mainframe games and computer games in his best-selling 101 BASIC Computer Games book. Bob Leedom then expanded the game in 1974 into Super Star Trek, which was later printed by Ahl in BASIC Computer Games, the first million-selling computer book.
Star Trek, especially the Super Star Trek version, was immensely popular for the era. This, along with the availability of the source code, led to numerous ports of both versions of the game for mainframe and microcomputers. Additionally, dozens of variants and expansions were made for a variety of systems. Ahl claimed in 1978 that it was difficult to find a computer installation that did not contain a version of Star Trek, and by 1980, Star Trek was described by The Dragon magazine as "one of the most popular (if not the most popular) computer games around", with "literally scores of different versions of this game floating around".
Star Trek is a text-based strategy video game based on the Star Trek television series in which the player, controlling the USS Enterprise starship, flies through the galaxy and hunts down Klingon warships within a time limit. The game starts with a short text description of the mission before allowing the player to enter commands. Each game starts with a different number of Klingons, friendly starbases, and stars spread throughout the galaxy. The galaxy is depicted as an 8-by-8 grid of "quadrants". Each quadrant is further divided into an 8-by-8 grid of "sectors". The number of stars, Klingons, and starbases in any one quadrant is set at the start of the game, but their exact position changes each time the player enters that quadrant.
The player can view a text-based map of the current quadrant by issuing the short-range scan command. Stars, Klingon ships, starbases, and the Enterprise itself are shown as text-based figures in a square grid; the Enterprise, for example, is represented with
-E-. The player can also use the long-range scan to print out a map of the quadrants lying directly around the Enterprise, with a list of the number of stars, Klingons, and starbases in each quadrant. The player moves between and within quadrants with the warp drive.
Klingon ships can be attacked with either phasers or photon torpedoes. Phasers do not have to be aimed, but their power and therefore damage amount falls off with distance, and the player must select how much power to put into each shot. Torpedoes do not suffer this drop in power and will destroy a Klingon ship with a single hit, but have to be aimed using polar coordinates. Later versions of the game expanded on this combat system by adding features such as Klingon ships moving after each shot if not destroyed, enemy attacks damaging systems such as scanners or shields, stars absorbing torpedoes that hit them, and a calculator to help in determining the proper angle to fire the torpedoes. Combat is turn-based, and Klingon ships will fire back at the player in their turn.
Movement, combat, and shields all drain the energy supply of the Enterprise, which can be restored by flying to a starbase. In some versions of the game, there are additional options for emergency situations, such as calling for help from a starbase, using the experimental Death Ray, loading raw dilithium crystals into the warp drive, or abandoning ship. Movement commands take up time depending on how far the player is moving. The game ends when the Enterprise is destroyed, all Klingons are destroyed, or the time limit runs out. A score in the form of a ranking is presented at the end of the game based on energy usage, damage taken and inflicted, and any remaining time.
In 1971, Mike Mayfield, then a senior in high school, had an illicit account on an SDS Sigma 7 mainframe computer at the University of California, Irvine. The mainframe had on it a copy of Spacewar!, a multiplayer space combat video game developed in 1962 in the early history of video games, but it required a vector graphics display and Mayfield only had access to a non-graphical Teletype Model 33 ASR teleprinter. He decided to create a game in the vein of Spacewar! that could be played on a teleprinter and brainstormed several ideas with his friends. As none of the group had much experience with computers, most of the ideas were unfeasible, but one concept he liked and thought was possible was a game based on Star Trek, then in syndication on television. The concept included the game printing a map of the galaxy and a map of the local star system, and phaser weapons whose attack power declined over distance. Mayfield began to program the game, creating a punched tape of the game at the end of each programming session and loading it back into the computer the next day. He worked on the game through the rest of the school year and into the summer after graduating.
Later that summer, Mayfield purchased an HP-35 calculator and often visited the local Hewlett-Packard sales office. The staff there offered to let him use the HP 2000C minicomputer at the office if he would create a version of his Star Trek game for it; as the version of the BASIC programming language on the computer was different from the Sigma 7, he elected to abandon the Sigma 7 version and rewrite the program from scratch. He completed it on October 20, 1972, and the game was added to the HP public domain Contributed Program library of software as STTR1 in February 1973, with Mayfield attributing the game to Centerline Engineering, a company he was considering starting. It was also published in the People's Computer Company newsletter, and republished in their collection book, What to Do After You Hit Return (1975).
David H. Ahl was an employee in the education department of Digital Equipment Corporation (DEC), and he also collected BASIC games and distributed them in the company's Edu newsletter. He and fellow employee Mary Cole ported STTR1 to DEC's BASIC-PLUS in the summer of 1973, with some additions, and he published this version in the newsletter. Ahl attributed the game to "Mike Mayfield of Centerline Engineering and/or Custom Data". In late 1973, he released the book 101 BASIC Computer Games, containing descriptions and the source code for early mainframe games and computer games written in BASIC. 101 BASIC Computer Games was a landmark title in computer games programming, and was a best-selling title with more than 10,000 copies sold—more sales than computers in existence at the time. As such, the BASIC ports of mainframe computer games included in the book were often more long-lived than their original versions or other mainframe computer games. He included Star Trek in the book as SPACWR, i.e. Space War.
Super Star Trek
In early 1974 Bob Leedom saw Ahl's version of the game in 101 BASIC Computer Games while working with a Data General Nova 800 minicomputer at Westinghouse Electric Corporation and, having never seen a Star Trek game before, started porting it to the system. After he got the game running, he began to expand it with suggestions from his friends. He changed the user interface, replacing the original game's numeric codes with three-letter commands and adding status reports from show characters and names for the galaxy quadrants, and overhauled the gameplay, adding moving Klingon ships, navigation and fire control options, and an expanded library computer. Once it was completed, he wrote a letter to the People's Computer Company newsletter describing the game.
Ahl, who by then had left DEC and was the editor of Creative Computing magazine, saw Leedom's description in the newsletter and contacted him to publish the game in his magazine. Ahl ported it to Microsoft BASIC and published the source code of the game as Super Star Trek to distinguish it from the original Star Trek game, calling it "by far the best" version. He later included it under that name in the 1976 anthology The Best of Creative Computing as well as the 1978 edition of 101 BASIC Computer Games, BASIC Computer Games. He added a note that he had permission from the rights holders to use the show's name in the title alongside a longer note written by Leedom explaining why the galaxy had 64 quadrants even though the term suggested there should only be four. BASIC Computer Games was the first million-selling computer book, giving Leedom's version a much wider audience than Mayfield and Ahl's original versions.
Reception and legacy
Star Trek, especially the Super Star Trek version, was immensely popular for the era. By 1975 it had spread to mainframes across the United States, and Ahl stated in 1978 in BASIC Computer Games that it was difficult to find a computer installation that did not contain a version of Star Trek. By 1980, Star Trek was described by Mark Herro in The Dragon magazine as "one of the most popular (if not the most popular) computer games around", with "literally scores of different versions of this game floating around". A 2013 overview of the game and its myriad versions in The Register by Tony Smith concluded that "like most games of the period it was fun to play once or twice, but it lacked staying power." Regardless, for the players of the time period when it was released, it was "a shiny new gateway to 'strange new worlds'".
The widespread popularity of the game, especially Super Star Trek, along with the availability of the source code, led to numerous ports of both versions of the game for mainframe and microcomputers. Versions were created for a variety of BASIC versions for other mainframes, as well as the Commodore PET, IBM System/370, Colour Genie, and Altair 8800, among many others. Alternate versions of the game were also produced, based on Star Trek, Super Star Trek, or both. David Matuszek and Paul Reynolds wrote an expanded Fortran version of the original game as UT Super Star Trek; Eric Allman ported this version to the C programming language to become BSD Trek, which is still included in the Debian classic Unix games package. BYTE published a BASIC version by David Price in March 1977 that used the original command system based on numbers. In 1983 BYTE columnist Jerry Pournelle claimed to have written "the world's most complex Star Trek game" in CBASIC. A shareware version for MS-DOS, EGATrek, was release in the late 1980s that replaced the original text-based screens with basic graphics that implemented a multi-paned display.
Multiple commercial versions of the game were released in addition to the free ports. Apple Inc. released a version for the Apple II+ called Apple Trek in 1979, and Atari, Inc. released a version for the Atari 2600 as Stellar Track in 1980. The TRS-80 had at least three separate commercially available Star Trek games, including Trek-80 by Processor Technology (later retitled Invasion Force) which added more interactivity and a number of new options incorporated from the unrelated Trek73, a second Trek-80 by Judges Guild, and Startrek 3.5 from Adventure International. Acornsoft released a version titled Galaxy for their computer systems, and Tandy Computers released Space Trek for theirs. Yet another version was written in BASICA for the IBM Personal Computer in 1982, Video Trek 88; written by Windmill Software, it used numbers for most commands, like the earlier BYTE version. Apex Software released TI-Trek for the Texas Instruments TI-99/4A in 1983, which incorporates speech if the speech synthesizer is present. 1984's Star Fleet I: The War Begins by Interstel was a variant released commercially for several computer systems. This game was successful enough to spawn a series.
Numerous hobby projects have continued to port the original game versions and enhanced variants to other languages and systems through to today. Additionally, some commercial games have been inspired by Star Trek, such as Star Raiders (1979), which was initially designed as a real time, 3D version of the game. As late as 1994, the collective Star Trek variants were still popular enough that Computer Gaming World claimed that the otherwise unrelated Stellar Explorer's gameplay was directly based on it, and that "anyone who remembers the old Trek games[...] will know exactly what this game is all about".
- Herro, Mark (June 1980). "The Electric Eye" (PDF). The Dragon. TSR (38): 52–54. ISSN 0279-6848. Archived (PDF) from the original on 2015-07-14. Retrieved 2016-02-14.
- Smith, Tony (2013-05-03). "Star Trek: The original computer game". The Register. Situation Publishing. Archived from the original on 2018-04-28. Retrieved 2018-11-28.
- The Best of Creative Computing, pp. 275–281
- Markowitz, Maury; Mayfield, Mike (2000). "Star Trek". Games of Fame. Archived from the original on 2018-11-06. Retrieved 2018-11-27.
- What to Do After You Hit Return, pp. 98–101
- McCracken, Harry (2014-04-29). "Fifty Years of BASIC, the Programming Language That Made Computers Personal". Time. Archived from the original on 2016-02-05. Retrieved 2016-02-12.
- BASIC Computer Games, pp. 157–163
- "GameSpot's History of Star Trek PC Games". GameSpot. CBS Interactive. 2000. Archived from the original on 2010-06-16. Retrieved 2018-11-28.
- "Space Trek". The Centre for Computing History. Archived from the original on 2018-11-28. Retrieved 2018-11-28.
- "Package: bsdgames". Debian Packages. Software in the Public Interest. Archived from the original on 2018-11-06. Retrieved 2018-11-28.
- Price, David (March 1977). "Flights of Fancy with the Enterprise". BYTE. Vol. 2 no. 3. UBM. pp. 106–113. ISSN 0360-5280. Archived from the original on 2016-03-25. Retrieved 2013-10-16.
- Pournelle, Jerry (December 1983). "Buddy, Can You Spare a Door Latch?". BYTE. Vol. 8 no. 12. UBM. p. 59. ISSN 0360-5280. Retrieved 2013-10-20.
- Anderson, Kevin. "EGATrek". GameSpy. CBS Interactive. Archived from the original on 2010-04-28. Retrieved 2018-11-28.
- Mitchell, Scott (June 1981). "Startrek 4.0 and Startrek 3.5". BYTE. Vol. 6 no. 6. UBM. pp. 352, 354. ISSN 0360-5280. Archived from the original on 2013-09-27. Retrieved 2017-02-26.
- Dodge, Michael (April 1980). "The Electric Eye" (PDF). The Dragon. TSR (36): 65. ISSN 0279-6848. Archived (PDF) from the original on 2016-03-21. Retrieved 2018-11-28.
- "Video Trek 88". Kilobaud Microcomputing. Vol. 7 no. 6. Wayne Green. June 1983. p. 14. ISSN 0192-4575.
- "Ti Trek". The Centre for Computing History. Archived from the original on 2018-11-28. Retrieved 2018-11-28.
- Murphy, Brian J. (September 1986). "Game Room". InCider. Vol. 4 no. 9. International Data Group. pp. 113–114. ISSN 0740-0101. Retrieved 2014-07-02.
- Barton, Matt; Loguidice, Bill (2009-09-08). "The History of Star Raiders: Taking Command". Gamasutra. UBM. Archived from the original on 2016-03-15. Retrieved 2019-01-07.
- Pappas, Lee (October 1986). "An Interview with Doug Neubauer". ANALOG Computing. No. 47. ISSN 0744-9917. Archived from the original on 2019-01-05.
- "Taking A Peek". Computer Gaming World. No. 118. May 1994. pp. 174–180. ISSN 0744-6667. Archived from the original on 2014-07-03. Retrieved 2017-11-11.
- Ahl, David (November 1978). BASIC Computer Games (2nd ed.). Workman Publishing. ISBN 978-0-89480-052-8.
- Ahl, David (1976). The Best of Creative Computing. 1. Creative Computing Press. ISBN 978-0-916688-01-1.
- What to Do After You Hit Return. People's Computer Company. 1975.