Spacewar (video game)
Spacewar | |
---|---|
Developer(s) | Steve Russell et al. |
Platform(s) | PDP-1 |
Release date(s) | April 1962 |
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.[1]
Background
Between 1959 and 1961, a collection of interactive graphical programs had been created on the TX-0 experimental computer at MIT. These included Mouse in the Maze[3] and Tic-Tac-Toe.[4]
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.[4] "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."[5]
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."[5] Other influences cited by Graetz include E.E. Smith's Skylark novels and Japanese sci-fi tokusatsu movies.[6]
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.[7] The game went live in April 1962.[2]
Gameplay
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.[4] 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, which was 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.[4]
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.[5]
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.[8] 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,[9] and a three-dimensional variant written in Tiny BASIC.[10]
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.[11]
Today
As of May 2006, 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.[12] 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.
Code simulating Spacewar has been included with Microsoft XNA Game Studio Express.[13]
The game's source code was made available by Martin Graetz into public domain.[14][15] The original PDP-1 source code was ported to a JavaScript written emulator running on the web.[16]
Games inspired by Spacewar
Over the years, many computer games have been inspired by Spacewar;[17] 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
- shields
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.
Although some accounts mistakenly identify Spacewar as a motivation for the development of Unix, the game involved in that case was Space Travel.[18]
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.
Ed Logg used ideas from Spacewar in Atari's Asteroids, specifically the hyperspace button and the shape of the player's ship.[19]
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.
Reception
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.[20] The Library of Congress took up this video game preservation proposal and began with the games from this list.[21][22]
See also
Notes
- β Markoff, John (June 3, 2006). "Alan Kotok, 64, a Pioneer In Computer Video Games". The New York Times. Retrieved February 5, 2009.
- 1 2 Matthew Lasar (25 October 2011). "Spacewar!, the first 2D top-down shooter, turns 50". Ars Technica. Retrieved 13 January 2016.
- β The Computer Museum Report Volume 8, Spring 1984, archived by bitsavers.org
- 1 2 3 4 "The origin of Spacewar", Creative Computing magazine, August 1981, J. M. Graetz, archived by wheels.org, retrieved 2010-3-17
- 1 2 3 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 [35]. 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.
- β Steam://install/480
- β "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.
- β Spacewar readme
- β Spacewar sources
- β 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". The New York Times. 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.
References
- Brand, Stewart (1974). II Cybernetic Frontiers. Random House. ISBN 0-394-49283-8.
- Graetz (August 1981). "The Origin of Spacewar". Creative Computing. pp. 56β67.
- Levy, Steven (1984). Hackers: Heroes of the Computer Revolution. Anchor Press/Doubleday. ISBN 0-385-19195-2.
External links
- Spacewar page at the Computer History Museum
- The original Spacewar source code running on PDP-1 emulator in Java and in JavaScript
- 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
|