Spacewar!

"In ships or on broomsticks — (...) we'll burn them out of the ether!",  E.E. "Doc" Smith, Triplanetary.

This is a virtual DEC PDP-1 emulated in HTML5/JavaScript running the original code of "Spacewar!", the earliest known digital screen game.

Spacewar! was conceived in 1961 by Martin Graetz, Stephen Russell, and Wayne Wiitanen. It was first realized on the PDP-1 in 1962 by Stephen Russell, Peter Samson, Dan Edwards, and Martin Graetz, together with Alan Kotok, Steve Piner, and Robert A Saunders. – Spacewar! is in the public domain, but this credit paragraph must accompany all distributed versions of the program.

This implementation by Norbert Landsteiner, www.masswerk.at, 2012-2015.
Added enhanced, CRT-like graphics, support for variable output sizes, a splash-screen with near to authentic graphics, and embedding artwork. This implementation also features changes to the original emulation code, some additional instructions, and additional emulated hardware. Also, there are multiple versions of the original code ready to play.

The original PDP-1 emulation in HTML5/JavaScript running Spacewar! by Barry Silverman, Brian Silverman, and Vadim Gerasimov is to be found at: http://spacewar.oversigma.com/html5/.

Touch-Controls — With touch devices use landscape orientation. Use the ship icons to move the controls to a convenient location.
This is the offline version of "Spacewar!", for further details and credits see http://www.masswerk.at/spacewar.

******************

*     M E M O    *

******************

 

 

ONCE AGAIN:

PLAYING "SPACEWAR!" DURING REGULAR OPERATIONS IS POSITIVELY PROHIBITED!

AS YOU ALL PRETTY WELL KNOW, REGULAR OPERATION HOURS ARE FROM 0 AM TO 12 PM ("24/7")!

 

 

INSTRUCTIONS FOR PLAYING "SPACEWAR!":

 

   PLAYER 1:

      A ... TURN LEFT

      D ... TURN RIGHT

      S ... THRUST

      W ... FIRE

 

   PLAYER 2:

      J ... TURN LEFT

      L ... TURN RIGHT

      K ... THRUST

      I ... FIRE

 

   PRESS 'LEFT' AND 'RIGHT' TOGETHER FOR CLOAK/HYPERSPACE.

 

 

OR USE CONTROL BOXES ("GAMEPADS"), HYPERSPACE IS UP.

HIT TAB ON KEYBOARD TO SWAP CONTROL BOXES AND SHIPS.

 

 

SIGNED

HEAD OF THE COMPUTER DEPARTMENT

(See the options menu at the top right of the screen for emulation options.
Visit the "Sense Switches / Setup" dialog to select a national or non-standard keyboard layout.)

PDP-1 Sense Switches

The PDP-1's control console provided an array of switches, the “sense switches”, which were used to control some of the game's behavior (“off” = default settings):

(unknown)

(unknown)

(unknown)

(unknown)

(unknown)

(unknown)

Emulation:

(On: display each frame, Off: double frames, no flicker)