---
title: "Zork source code, freed by Microsoft a year ago, shows how Infocom's 1980 text adventure read English"
url: https://badiyaa.com/zork-source-code-microsoft-mit-license/
published: 2026-12-01T13:04:00+00:00
modified: 2026-12-01T08:38:13+00:00
section: Gaming
publisher: Badiyaa
---

# Zork source code, freed by Microsoft a year ago, shows how Infocom's 1980 text adventure read English

Zork I, II and III source code went open source under the MIT License in November 2025, when Microsoft, Xbox and Activision released the Infocom classics.

It is pitch dark, and you are likely to be eaten by a grue. A year after Microsoft opened up the code behind that famous warning, the source for Zork I has been starred about 3,000 times and copied, or forked, 364 times on GitHub by programmers who want to see how a 1980 text adventure parsed full English sentences.

The release came on November 20, 2025. In [Microsoft's Open Source Blog post on freeing Zork I, II and III](https://opensource.microsoft.com/blog/2025/11/20/preserving-code-that-shaped-generations-zork-i-ii-and-iii-go-open-source/), Stacey Haffner, director of the company's Open Source Programs Office, and Scott Hanselman wrote that the office, Team Xbox and Activision were putting all three games under the MIT License. Microsoft owns the rights because it acquired Activision, which bought Zork's maker, Infocom, in 1986.

## What was actually released

Microsoft did not build new repositories. Working with digital archivist Jason Scott of Internet Archive fame, it sent pull requests to the existing "historicalsource" repositories on GitHub, adding a plain MIT license file to each game. The grant covers the code only, not the Zork trademark, box art or marketing.

[The Zork I source repository on GitHub](https://github.com/historicalsource/zork1) holds the game in ZIL, the Zork Implementation Language, which descends from the MIT language MDL, itself a dialect of LISP. Its readme admits a quirk: the files were contributed anonymously as a snapshot of Infocom's development system when the company shut down, and no official Infocom compiler survives. A fan-built compiler, ZILF, can turn the files into a playable game with minor issues, and Microsoft's post walks through doing exactly that.

## Why a text game still matters

Zork began at MIT in May 1977, written by Tim Anderson, Marc Blank, Bruce Daniels and Dave Lebling on a PDP-10 mainframe. According to [Wikipedia's history of Zork](https://en.wikipedia.org/wiki/Zork), the team wanted a parser smarter than the two-word commands of Colossal Cave Adventure, so players could type lines like "put the lamp and sword in the case."

The trick that made it a hit was the Z-machine, a virtual computer that let Infocom write one game file and run it on many home machines, from the Apple II to the IBM PC. Microsoft's post calls it one of the first truly cross-platform game designs.

The sales followed. The three episodes sold more than 680,000 copies through 1986, over a third of Infocom's two million game sales. In 2007, the Library of Congress named Zork one of the ten most important video games in history.

There is also a twist of fate. When Infocom shopped Zork I to publishers in 1980, Microsoft turned it down because the game competed with its own Microsoft Adventure, even though Bill Gates was a fan. Forty-five years later, Microsoft is the company that set the code free.

## The grue lives on

The grue itself was a patch. The developers added it to replace bottomless pits after Lebling's character fell into one in the attic of the house, and the name came from author Jack Vance.

Badiyaa told the hardware side of this story in [the PDP-10 at 60, the mainframe where MIT hackers built the original Zork](https://badiyaa.com/pdp-10-60-its-zork/). For another rescued piece of computing history, see [the Symbolics XL1200 Lisp machine booting again in an emulator](https://badiyaa.com/symbolics-xl1200-lisp-machine-emulator/).

## Sources
- [Zork trilogy open-source announcement](https://opensource.microsoft.com/blog/2025/11/20/preserving-code-that-shaped-generations-zork-i-ii-and-iii-go-open-source/), Microsoft Open Source Blog, 2025
- [Zork I Source Code Collection](https://github.com/historicalsource/zork1), historicalsource, GitHub, 2025
- [Zork](https://en.wikipedia.org/wiki/Zork), Wikipedia, 2026

*Image: Marcin Wichary, CC BY 2.0 via Wikimedia Commons*

*This article was produced with AI assistance and reviewed by our Editorial Desk. [How we work](https://badiyaa.com/editorial-policy/).*
