[arstechnica]. Microsoft makes Zork I, II, and III open source under MIT License

Topher

Identifies as young
Zork, the classic text-based adventure game of incalculable influence, has been made available under the MIT License, along with the sequels Zork II and Zork III.

The move to take these Zork games open source comes as the result of the shared work of the Xbox and Activision teams along with Microsoft's Open Source Programs Office (OSPO). Parent company Microsoft owns the intellectual property for the franchise.

Only the code itself has been made open source. Ancillary items like commercial packaging and marketing assets and materials remain proprietary, as do related trademarks and brands.

"Rather than creating new repositories, we're contributing directly to history. In collaboration with Jason Scott, the well-known digital archivist of Internet Archive fame, we have officially submitted upstream pull requests to the historical source repositories of Zork I, Zork II, and Zork III. Those pull requests add a clear MIT LICENSE and formally document the open-source grant," says the announcement co-written by Stacy Haffner (director of the OSPO at Microsoft) and Scott Hanselman (VP of Developer Community at the company).

Microsoft gained control of the Zork IP when it acquired Activision in 2022; Activision had come to own it when it acquired original publisher Infocom in the late '80s. There was an attempt to sell Zork publishing rights directly to Microsoft even earlier in the '80s, as founder Bill Gates was a big Zork fan, but it fell through, so it's funny that it eventually ended up in the same place.

To be clear, this is not the first time the original Zork source code has been available to the general public. Scott uploaded it to GitHub in 2019, but the license situation was unresolved, and Activision or Microsoft could have issued a takedown request had they wished to.

Now that's obviously not at risk of happening anymore.



Bob Odenkirk GIF by The Office
 
There's an iOS app called Frotz that has the original MIT version of Zork along with many other old school text adventures.


Definitely getting a copy of this repo to see what's under Zork's covers.
 
Last edited:
What language would they have been written in? I'm off to see if I can find the code.

Edit: Yeah, forget that. I thought it might be C or something interesting. :D
 
Last edited:
What language would they have been written in? I'm off to see if I can find the code.

Edit: Yeah, forget that. I thought it might be C or something interesting. :D

From Github:

It is written in ZIL (Zork Implementation Language), a refactoring of MDL (Muddle), itself a dialect of LISP created by MIT students and staff.

 
: use axe on stump
You use the axe on the stump and nothing happened.
: use axe on tree
You use the axe on the tree and nothing happened.
: use axe on dick
Congrats you have defeated evil!!
 
From Github:

It is written in ZIL (Zork Implementation Language), a refactoring of MDL (Muddle), itself a dialect of LISP created by MIT students and staff.

and to actually run it you'd need a Z-machine interpreter, so for full historical accuracy that means compiling one of these https://github.com/erkyrath/infocom-zcode-terps

This whole stack has an amazing history... they created the virtual Z-machine to be able to port to all platforms, and then the custom language that they wrote the actual adventures in compiles down to code for the Z-machine. And then this later became reverse engineered to build new Z machine implementations and text-adventure languages like Inform and TADS. All of it extremely complex at the low level and simply amazing.

The work they did to make the language parsing feel natural is mindblowing, so long before LLMs basically have made reading actions / intent / etc from a user's input easy.

Also: for anyone interested in writing interactive fiction / text adventures today, you should read about and learn Inform7, an absolutely incredible project.
 
Last edited:
Top Bottom