text: spacewar ( video game ) spacewar ( stylized spacewar ! ) is a space combat video game developed in 1962 as one of the first games created in the early history of video games . it was initially designed by steve russell , in collaboration with martin graetz and wayne wiitanen , and programmed by russell with assistance from others including bob saunders and steve piner for the newly installed digital equipment corporation pdp - 1 minicomputer at the massachusetts institute of technology . after its initial creation , spacewar was expanded further by other students and employees of universities in the area , including dan edwards and peter samson . it was also spread to many of the few dozen , primarily academic , installations of the pdp - 1 computer , making spacewar the first known video game to be played at multiple computer installations . the monochrome game features two spaceships , " the needle " and " the wedge " , engaged in a dogfight while maneuvering in the gravity well of a star . both ships are controlled by human players . each ship has limited fuel for maneuvering and a limited number of torpedoes , and the ships follow newtonian physics , remaining in motion even when the player is not accelerating . ships are destroyed when hit with a torpedo or colliding with the star , though flying near the star can provide a gravity assist to the player . at any time , the player can engage a hyperspace feature to move to a new , random location on the screen , though each use has an increasing chance of destroying the ship instead . the game was initially controlled with switches on the pdp - 1 , though alan kotok and bob saunders built an early gamepad to reduce the difficulty and awkwardness of controlling the game . spacewar was extremely popular in the small programming community in the 1960s and was widely ported to other computer systems at the time . it has also been recreated in more modern programming languages for pdp - 1 emulators . it directly inspired many other electronic games , such as the first commercial arcade games galaxy game and computer space ( 1971 ) , and later games such as asteroids ( 1979 ) . in 2007 , spacewar was named to a list of the ten most important video games of all time , which formed the start of the game canon at the library of congress . background during the 1950s , various computer games were created in the context of academic computer and programming research and for demonstrations of computing power , especially after the introduction later in the decade of smaller and faster computers on which programs could be created and run in real time as opposed to being executed in batches . a few programs , however , while used to showcase the power of the computer they ran on were also intended as entertainment products ; these were generally created by undergraduate and graduate students and university employees , such as at the massachusetts institute of technology ( mit ) where they were allowed on occasion to develop programs for the tx - 0 experimental computer . these interactive graphical games were created by a community of programmers , many of them students and university employees affiliated with the tech model railroad club ( tmrc ) led by alan kotok , peter samson , and bob saunders . the games included tic - tac - toe , which used a light pen to play a simple game of noughts and crosses against the computer , and mouse in the maze , which used a light pen to set up a maze of walls for a virtual mouse to traverse . in the fall of 1961 , a digital equipment corporation ( dec ) pdp - 1 minicomputer was installed in the " kludge room " of the mit electrical engineering department to complement the older tx - 0 , and even before its arrival a group of students and university employees had been brainstorming ideas for programs that would demonstrate the new computer 's capabilities in a compelling way . three of them — steve russell , then an employee at harvard university and a former research assistant at mit ; martin graetz , a research assistant and former student at mit ; and wayne wiitanen , a research assistant at harvard and former employee and student at mit — referring to their collaboration as the " hingham institute " as graetz and wiitanen were living in a tenement building on hingham street in cambridge , massachusetts , came up with the idea for spacewar . " we had this brand new pdp - 1 " , steve 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 . " gameplay the gameplay of spacewar involves two monochrome spaceships called " the needle " and " the wedge " , each controlled by a player , attempting to shoot one another while maneuvering on a two - dimensional plane in the gravity well of a star , set against the backdrop of a starfield . the ships fire torpedoes , which are not affected by the gravitational pull of the star . the ships have a limited number of torpedoes and a limited supply of fuel , which is used when the player fires his thrusters . torpedoes are fired one at a time by flipping a toggle switch on the computer or pressing a button on the control pad , and there is a cooldown period between launches . the ships follow newtonian physics , remaining in motion even when the player is not accelerating , though the ships can rotate at a constant rate without inertia . each player controls one of the ships and must attempt to shoot down the other ship while avoiding a collision with the star . flying near the star can provide a gravity assist to the player at the risk of misjudging the trajectory and falling into the star . if a ship moves past one edge of the screen , it reappears on the other side in a wraparound effect . a hyperspace feature , or " panic button " , can be used as a last - ditch means to evade enemy torpedoes by moving the player 's ship to another location on the screen after disappearing for a few seconds , but the reentry from hyperspace occurs at a random location , and there is an increasing probability of the ship exploding with each use . player controls include clockwise and counterclockwise rotation , forward thrust , firing torpedoes , and hyperspace . initially these were controlled using the front - panel test switches on the pdp - 1 minicomputer , with four switches for each player , but these proved to be awkward to use and wore out quickly under normal gameplay , as well as causing players to accidentally flip the computer 's control and power switches . the location of the switches also left one player off to one side of the crt display due to the limited space in front of the computer , which left them at a disadvantage . to alleviate these problems , kotok and saunders created a detached control device , essentially an early gamepad . the gamepad had a switch for turning left or right , another for forward thrust or hyperspace , and a torpedo launch button . the button was silent , so that the opposing player would not have a warning that the player was attempting to fire a torpedo during a cooldown period . development in the fall of 1961 while brainstorming ideas for a program for the pdp - 1 , russell had just finished reading the series by e. e. " doc " 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 fellow programmer martin graetz include e.e. smith 's skylark novels and japanese pulp fiction tokusatsu movies . for the first few months after its installation , the pdp - 1 programming community at mit focused on simpler programs to work out how to create software for the computer . the community had heard of the spacewar concept , however , and understood that russell would spearhead the development of it . when members of the community began to feel the time was right to start work on the game , russell , nicknamed " slug " because of his tendency to procrastinate , began providing various excuses as to why he could not start programming the game . one of these was the lack of a trigonometric function routine needed to calculate the trajectories of the spacecraft . this prompted alan kotok of tmrc to call dec , who informed him that they had such a routine already written . kotok drove to dec to pick up a tape containing the code , slammed it down in front of russell , and asked what other excuses he had . russell , later explaining that " i looked around and i didn 't find an excuse , so i had to settle down and do some figuring , " started writing the code in december 1961 . the game was developed to meet three precepts russell , graetz , and wiitanen had developed for creating a program that functioned equally well as an entertainment experience for the players and as a demonstration for spectators : to use as much of the computer 's resources as possible , to be consistently interesting and therefore have every run be different , and to be entertaining and therefore a game . it took russell , with assistance from the other programmers — including bob saunders and steve piner , but not including wiitanen , who had been called up by the united states army reserve — about 200 man - hours to write the first version of spacewar , around six weeks to develop the basic game . russell had a program with a movable dot by january 1962 , and an early operational game with rotatable spaceships by february . the two spaceships were designed to evoke the curvy spaceship from buck rogers stories and the pgm - 11 redstone rocket . that early version also contained a randomly generated background starfield , initially added by russell because a blank background made it difficult to tell the relative motion of the two spaceships at slow speeds . the programming community in the area , including the hingham institute and the tmrc , had developed what was later termed the " hacker ethic " , whereby all programs were freely shared and modified by other programmers in a collaborative environment without concern for ownership or copyright , which led to a group effort to elaborate on russell 's initial spacewar game . consequently , since the inaccuracy and lack of realism in the starfield annoyed tmrc member peter samson , he wrote a program based on real star charts that scrolled slowly through the night sky , including every star in a band between 22 . 5 ° n and 22 . 5 ° s down to the fifth magnitude , displayed at their relative brightness . the program was called " expensive planetarium " — referring to the high price of the pdp - 1 computer compared to an analog planetarium , as part of the series of " expensive " programs like expensive typewriter — and was quickly incorporated into the game in march by russell , who served as the of the primary version of the game . the initial version of the game also did not include the central star gravity well or the hyperspace feature ; they were written by mit graduate student and tmrc member dan edwards and graetz respectively to add elements of strategy to what initially was a shooter game of pure reflexes . the initial version of the hyperspace function was limited to three jumps , but carried no risk save possibly re - entering the game in a dangerous position ; later versions removed the limit but added the increasing risk of destroying the ship instead of moving it . additionally during this development period , kotok and saunders created the gamepads for the game . the game was a multiplayer - only game because the computer had no resources left over to handle controlling the other ship . similarly , other proposed additions to the game such as a more refined explosion display upon the destruction of a spaceship and having the torpedoes also be affected by gravity had to be abandoned as there were not enough computer resources to handle them while smoothly running the game . with the added features and changes , spacewar was essentially complete by late april 1962 , and russell and the other programmers shifted focus from developing the game to preparing to show it off to others such as at the mit science open house in may . the group added a time limit , as well as a larger , second screen for viewers at the demonstration , and that same month graetz presented a paper about the game , " ! real - time capability of the pdp - 1 " , at the first meeting of the digital equipment computer users ' society . the demonstration was a success , and the game proved very popular at mit ; the laboratory that hosted the pdp - 1 soon banned play except during lunch and after working hours . beginning in the summer of 1962 and continuing over the next few years , members of the pdp - 1 programming community at mit , including russell and the other hingham institute members , began to spread out to other schools and employers such as stanford university and dec , and as they did they spread the game to other universities and institutions with a pdp - 1 computer . as a result , spacewar was perhaps the first video game to be available outside a single research institute . over the next decade , programmers at these other institutions began coding their own variants , including features such as allowing more ships and players at once , replacing the hyperspace feature with a cloaking device , space mines , and even a first - person perspective version played on two screens that simulates each pilot 's view out of the cockpit . some of these spacewar installations also replicated kotok and saunders ' gamepad . according to a second - hand account heard by russell while working at dec , spacewar was reportedly used as a smoke test by dec technicians on new pdp - 1 systems before shipping because it was the only available program that exercised every aspect of the hardware . although the game was widespread for the era , it was still very limited in its direct reach : the pdp - 1 was priced at us $ 120 , 000 and only 55 were ever sold , most without a monitor and many of the remainder to secure military locations or research labs with no free computer time , which prevented the original spacewar from reaching beyond a narrow , academic audience . legacy spacewar was extremely popular in the small programming community in the 1960s and was widely recreated on other minicomputer and mainframe computers of the time before migrating to early microcomputer systems in the 1970s . early computer scientist alan kay noted in 1972 that " the game of spacewar blossoms spontaneously wherever there is a graphics display connected to a computer , " and graetz recalled in 1981 that as the game initially spread it could be found on " just about any research computer that had a programmable crt " . the majority of this spread took place several years after the initial development of the game ; while there are early anecdotes of players and game variants at a handful of locations , primarily near mit and stanford , it was only after 1967 that computers hooked up to monitors or terminals capable of playing spacewar began to proliferate , allowing the game began to reach a wider audience and influence later video game designers — by 1971 , it is estimated that there were over 1000 computers with monitors , rather than a few dozen . it is around this time that the majority of the game variants were created for various computer systems , such as later pdp systems , and in 1972 the game was well - known enough in the programming community that rolling stone sponsored the " ! olympics " , possibly the first video game tournament . in the early 1970s , spacewar migrated from large computer systems to a commercial setting as it formed the basis for the first two coin - operated video games . while playing spacewar at stanford sometime between 1966 and 1969 , college student hugh tuck remarked that a coin - operated version of the game would be very successful . while the high price of a minicomputer prevented such a game from being feasible then , in 1971 tuck and bill pitts created a prototype coin - operated computer game , galaxy game , with a us $ 20 , 000 pdp - 11 . around the same time , a second prototype coin - operated game based on spacewar , computer space , was developed by nolan bushnell and ted dabney , which would become the first commercially - sold arcade video game and the first widely - available video game of any kind . though tuck felt that computer space was a poor imitation of spacewar and his game a superior adaptation , many players believed both of the games to be upgraded variants of spacewar . byte magazine published an assembly language version of spacewar in 1977 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 , as well as a three - dimensional variant in 1979 written in tiny basic . more modern recreations of the game for computers have been made as well . an emulated version of the original game , based on the original source code made publicly available by martin graetz and running in a javascript pdp - 1 emulator , was made available to play on the internet in 2012 . the only working pdp - 1s that are known to exist are kept in the computer history museum in mountain view , california , where demonstrations of the machine are held , which include playing spacewar . in addition to galaxy game and computer space , numerous other games have been directly inspired by spacewar . these include ( 1974 , plato network computers ) , space wars ( 1977 , arcade ) , and space war ( 1978 , atari 2600 ) . additionally , in asteroids ( 1979 ) , designer ed logg used elements from spacewar , namely the hyperspace button and the shape of the player 's ship . products as late as the 1990 computer game star control drew direct inspiration from spacewar . russell has been quoted as saying that the aspect of the game that he was most pleased with was the number of other programmers it inspired to write their own games without feeling restricted to using russell 's own code or design . 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 , which were proposed to be archived in the library of congress . the library of congress took up this video game preservation proposal , and began with the games from this list .