Spacewar (video game)
|Developer(s)||Steve Russell et al.|
|Genre(s)||Space combat simulation, shoot 'em up|
|Mode(s)||Two players, simultaneously (only)|
Spacewar (stylized "Spacewar!") is one of the earliest digital computer video games. It is a two-player game, with each player taking control of a starship and attempting to destroy the other. A star in the center of the screen pulls on both ships and requires maneuvering to avoid falling into it. In an emergency, a player can enter hyperspace to return at a random location on the screen, but only at the risk of exploding if it is exploited.
Steve "Slug" Russell, Martin "Shag" Graetz, and Wayne Wiitanen of the fictitious "Hingham Institute" conceived of the game in 1961, with the intent of implementing it on a DEC PDP-1 at the Massachusetts Institute of Technology. After Alan Kotok obtained some sine and cosine routines from DEC, Russell began coding, and, by February 1962, had produced his first version. It took approximately 200 hours of work to create the initial version. Additional features were developed by Dan Edwards, Peter Samson, and Graetz.
In the fall of 1961, a PDP-1 was installed in the "kludge room" of the Electrical Engineering Department, and even before its arrival, a group of students at a tenement on Hingham Street had been brainstorming ideas for programs that would demonstrate the new computer's capabilities in a compelling way. "We had this brand new PDP-1," Russell told Rolling Stone in a 1972 interview. "Somebody had built some little pattern-generating programs which made interesting patterns like a kaleidoscope. Not a very good demonstration. Here was this display that could do all sorts of good things! So we started talking about it, figuring what would be interesting displays. We decided that probably you could make a two-dimensional maneuvering sort of thing, and decided that naturally the obvious thing to do was spaceships."
Russell had just finished reading the Lensman series by E.E. Smith and thought the stories would make a good basis for the program. "His heroes had a strong tendency to get pursued by the villain across the galaxy and have to invent their way out of their problem while they were being pursued. That sort of action was the thing that suggested Spacewar. He had some very glowing descriptions of spaceship encounters and space fleet maneuvers." Other influences cited by Graetz include E.E. Smith's Skylark novels and Japanese sci-fi tokusatsu movies.
Russell, nicknamed "Slug" because of his slow approach to programming, kept putting off starting the programming effort with one excuse after another. One of these was the lack of a sin/cos routine, needed to calculate the trajectories of the spacecraft. This prompted Alan Kotok to call DEC, who informed him that they did have such a routine. Kotok drove to DEC, picked up a tape, slammed it down in front of Russell, and asked what his excuse was now. Russell started writing the code in December 1961. It took the team about 200 man-hours to write the first version of Spacewar. The game went live in April.
The basic gameplay of Spacewar involves two armed spaceships called "the needle" and "the wedge" attempting to shoot one another while maneuvering in the gravity well of a star. The ships fire missiles that are unaffected by gravity (due to a lack of processing time). Each ship has a limited number of missiles and a limited supply of fuel. Each player controls one of the ships, and must attempt to simultaneously shoot at the other ship and avoid colliding with the star. The hyperspace feature can be used as a last-ditch means to evade enemy missiles, but the reentry from hyperspace would occur at a random location and there is an increasing probability of the ship exploding with each use.
Player controls include clockwise and counterclockwise rotation, thrust, fire, and hyperspace. Initially these were controlled using the front-panel test switches, with four switches for each player, but these proved to wear out very quickly under normal gameplay, and the location of the switches left one player off to one side of the CRT display and visually disadvantaged as a result. Most sites used custom control boxes wired into the same switches, although joysticks and other inputs were also used.
Several optional features were controlled by sense switches on the console:
- no star (and thus no gravity)
- enable angular momentum
- disable background starfield
- the "Winds of Space"- a warping factor on trajectories that require the pilot to make careful adjustments every time they move.
Subsequent developments and variants
The first operational version of the game, finished by February 1962, contained a randomly generated background starfield. However, the inaccuracy and lack of realism annoyed Samson, so he wrote a program based on real star charts that scrolled slowly: at any one time, 45% of the night sky was visible, every star down to the fifth magnitude. The program was called Expensive Planetarium (referring to the price of the PDP-1 computer), and was quickly incorporated into the main code. The star gravity well and the hyperspace feature also had yet to appear in that first playable version; they were written by Edwards and Russell, respectively, to add elements of strategy to what initially was a shooter game of pure reflexes. With these additions, Spacewar was essentially complete by late April 1962.
The game spread rapidly to other research centers, where other programmers began coding their own variants, including features such as cloaking devices, space mines, and even a first-person perspective version, played with two screens, that simulated each pilot's view out of the cockpit.
Spacewar was a fairly good overall diagnostic of the PDP-1 computer and Type 30 Precision CRT Display, so DEC apparently used it for factory testing and shipped PDP-1 computers to customers with the Spacewar program already loaded into the core memory; this enabled field testing as when the PDP was fully set up, the field representative could simultaneously relax and do a final test of the PDP.
Versions and clones for other systems
Spacewar was extremely popular in the 1960s, and was widely recreated on other systems. As it required a graphical display, most of the early ports were to other DEC platforms like the PDP-10 or PDP-11, or various CDC machines.
Early microcomputer systems also supported Spacewar. The Cromemco Dazzler had a version, as did the ECD Micromind. The Micromind did not have a high-resolution bitmap display, due to the high cost of memory at the time. This version rendered ships in portions of the computer's flexible character generator, which was dynamically generated to support rendering ships at different angles. BYTE published an assembly-language version that ran on the Altair 8800 and other Intel 8080-based microcomputers using an oscilloscope as the graphical display and a lookup table for orbits, and a three-dimensional variant written in Tiny BASIC.
Spacewar was recreated in the 1970s to a new computer, the HP9825 desktop calculator, using a pen-based plotter as the display. Created by a mathematician working in the (then) 544 ARTW/Trajectory Division, it was a natural project for the engineers working on ballistic missile codes.
A networked multi-player version of the game was developed in 1983 for the Symbolics Lisp Machine.
There is a PC clone available on Valve's Steam service, however it is hidden and not in game listings.
As of May 2006[update], there is only one working PDP-1 known to exist, at the Computer History Museum in Mountain View, California. The computer and display were completely restored after two years of work, and Spacewar is operational. On May 15, 2006, the museum presented The Mouse That Roared: A PDP-1 Celebration Event. The PDP-1 was demonstrated running Spacewar as well as other programs, and members of the public were able to play the game using makeshift controllers.
Games inspired by Spacewar
Over the years, many computer games have been inspired by Spacewar; some are known by the same name. Some are straightforward clones, but most have introduced additional variations to the game play, such as:
- various rates of acceleration
- various levels of gravity (even negative)
- missiles affected by gravity
- fuel (energy) regeneration over time
Arcade versions of Spacewar were released as the Galaxy Game (1971), Computer Space by Nutting Associates (1971), and Space Wars by Cinematronics (1977), the last being the most commercially successful.
The first networked version of this genre was Orbitwar (1974) by Silas Warner on the PLATO network. It included all the features of the original Spacewar with the addition of a Big Board where PLATO users would await challenges from each other to play.
Home versions have appeared for most computer and console systems, with some becoming quite elaborate, such as the Star Control series, introducing a wide variety of gameplay frameworks around the basic one-on-one combat system at its core. Senko no Ronde can be described as a modern interpretation of Spacewar, with a design heavily inspired by versus fighters such as Street Fighter II. The Escape Velocity series also owes its 2D inertial combat and navigation to Spacewar.
Non-space themed variants with similar play (i.e. two players control a vehicle using similar controls – i.e. rotate left / rotate right / move forward / fire – and try to score by hitting their opponent with a missile) include Tank by Kee Games and Combat by Atari.
Atari, Inc. made Space War, an Atari 2600 port of the original with additional options. Atari Corporation had an Atari Jaguar game called Spacewar 2000 in development as a 3D update to the original, but was cancelled when Atari abandoned Jaguar support.
Earlier computer and video games
The first graphical computer game is believed to have been OXO (a Tic-tac-toe game), developed by A.S. Douglas in 1952. William Higinbotham built Tennis for Two in 1958 using discrete analog hardware rather than a program for a digital computer.
On March 12, 2007, The New York Times reported that Spacewar was named to a list of the ten most important video games of all time, the so-called game canon. The Library of Congress took up this video game preservation proposal and began with the games from this list.
- Markoff, John (June 3, 2006). "Alan Kotok, 64, a Pioneer In Computer Video Games". The New York Times Company Staff. Retrieved February 5, 2009.
- The Computer Museum Report Volume 8, Spring 1984, archived by bitsavers.org
- "The origin of Spacewar", Creative Computing magazine, August 1981, J. M. Graetz, archived by wheels.org, retrieved 2010-3-17
- Brand, Stewart (December 7, 1972). "Spacewar: Fantastic Life and Symbolic Death Among the Computer Bums". Rolling Stone (Straight Arrow Publishers, Inc.) (123): 50–58.
- "Players Guide To Electronic Science Fiction Games". Electronic Games 1 (2): 34–45 . March 1982. Retrieved February 1, 2012.
- Bellis, mary. "The History of Spacewar".
- "Initial response from JSL – design notes I", ECD Micromind Project, July 11, 2006
- Kruglisnki, Doug (October 1977). "How to Implement Space War (or Using Your Oscilloscope as a Telescope)". BYTE. pp. 86–111. Retrieved 17 October 2013.
- Beard, David J (May 1979). "Spacewar in Tiny BASIC". BYTE. p. 110. Retrieved 18 October 2013.
- "The Mouse That Roared: A PDP-1 Celebration Event". Retrieved August 1, 2008.
- Cox, Charles and Klucher, Michael (May 2007). "Unleash Your Imagination With XNA Game Studio Express". MSDN Magazine (Microsoft Corporation). Retrieved October 4, 2007.
- Humphries, Matthew (2012-12-11). "Play Spacewar! on the DEC PDP-1 emulated in your browser". geek.com. Retrieved 2015-07-28.
- Markoff, John (December 16, 1990). "Digital Fetes the 'Germ' That Began a Revolution". The New York Times. Retrieved February 5, 2009.
- Ritchie, Dennis M. "Space Travel: Exploring the solar system and the PDP-7". Retrieved March 11, 2007.
- Lorge, Greta; Antonucci, Mike (2012). "Game Changers". Stanford Magazine. Retrieved 2015-05-28.
- CHAPLIN, HEATHER (2007-03-12). "Is That Just Some Game? No, It’s a Cultural Artifact". nytimes.com. Retrieved 2013-11-01.
- Ransom-Wiley, James. "10 most important video games of all time, as judged by 2 designers, 2 academics, and 1 lowly blogger". Joystiq.
- Owens, Trevor (2012-09-26). "Yes, The Library of Congress Has Video Games: An Interview with David Gibson". blogs.loc.gov. Retrieved 2013-01-18.
- Spacewar page at the Computer History Museum
- Spacewar (video game) at DMOZ
- 1up.com's article naming Spacewar the most important video game ever made
- "Spacewar", a 1972 Rolling Stone article by Stewart Brand
- A 1972 Saga Magazine article about Spacewar
- Computer and Video Game History describes Spacewar and earlier video games such as A.S. Douglas' Tic-Tac-Toe and William Higinbotham's Tennis for Two
- Gamasutra's Spacewar: The Best Waste of Time in the History of the Universe by Bill Loguidice and Matt Barton
- The Dot Eaters article about the development of Spacewar!
- Spacewar! for the PDP-1 at the Internet Archive's Historical Software Collection