Spacewar! is where code first becomes play. Written across 1961-62 by Steve Russell and a circle of MIT hackers for the DEC PDP-1, in roughly two thousand words of Macro assembly it gave the computer a starfield, two ships, gravity, and a panic button. This project reads that program as a cultural text, in the tradition of Critical Code Studies: at once literature, mechanism, spatial form, and a repository of the social formation that produced it.
No single Spacewar! source code: a family of versions. The early MIT releases (1, 2B, 3.1), the forked 4.x generation of 1963, later reconstructions such as the CHM 4.1f, and the many ports and clones of its long journey. The Versions page and the Timeline lay out the whole variorum.
/ spacewar 2b - 2 apr 1962 - pdp-1 macro assembly
/ one of many surviving versions (reconstructed by Norbert Landsteiner)
define index A,B,C
idx A
sas B
jmp C
term
define count A,B
isp A
jmp B
term
1962 · 18-bit words · 4096 words of core · Type 30 CRT at 1024 x 1024 points, P7 phosphor · PDP-1 ~$120,000. The Type 30 was a point-plotting vector display derived from radar. This page is rendered in its spirit.
A collaboration bringing together critical code studies scholars and others.