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. It is one of the founding objects of computational culture: real-time interactive graphics, the hacker ethic, the demo, and the free circulation of source.
This project reads that program as a cultural text. Following Critical Code Studies, the source is approached in its multiplicity, as literature, as mechanism, as spatial form, and as a repository of the social formation that produced it. Reading about the origins of computing is not the same as reading the origin's code, and the aim here is the latter.
Critical Code Studies (CCS) applies the interpretive methods of the humanities to computer source code, reading code, architecture, and documentation within their sociohistorical context. Its premise is that lines of code are not value-neutral: meaning grows out of what the code does but is never exhausted by it.
This study is a companion to Inventing ELIZA: How the First Chatbot Shaped the Future of AI (Sarah Ciston, David M. Berry, Anthony C. Hay, Mark C. Marino, Peter Millican, Arthur I. Schwarz, Jeff Shrager and Peggy Weil, MIT Press, 2026). They are two foundational programs of the long 1960s, read side by side: ELIZA teaches the machine to talk, Spacewar! teaches it to play.
Spacewar! was conceived in 1961 by Martin Graetz, Wayne Wiitanen, and Steve Russell, members of the circle around MIT's Tech Model Railroad Club. Russell wrote the core over the winter of 1961-62. Peter Samson replaced the random background with the Expensive Planetarium, the actual night sky; Dan Edwards added a central star whose gravity pulled both ships toward it; Graetz added hyperspace, a panic button. By spring 1962 Alan Kotok and Bob Saunders had built dedicated control boxes. Almost as soon as it existed it circulated, copied from PDP-1 to PDP-1, an open artefact decades before "open source" had a name.
There is no single Spacewar! source code. What survives is a family of versions: the early MIT releases (1, 2B, 3.1), the forked 4.x generation of 1963, later reconstructions such as the Computer History Museum's 4.1f, and the many ports and clones of its long journey, each in its own dialect of assembly. The Versions page and the Timeline lay out the whole variorum. The primary close-reading texts are the Macro assembly sources:
/ 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 swap
rcl 9s
rcl 9s
term
define count A,B
isp A
jmp B
term
The study works across the registers of Critical Code Studies, pairing close technical explication of a code fragment with the cultural constellation that spirals out from it. Six movements:
The Spacewar! reading is a collaboration bringing together critical code studies scholars and others.
A Critical Code Studies project initiated by David M. Berry and Mark C. Marino. Source at github.com/spacewar1962. Emulator after Silverman & Gerasimov.
Last updated: 17 June 2026. Best viewed with any browser.