How I ported Zork to ABAP in one day and made 46-year reunion of two mainframe legends possible.
1979 was quite a year for the mainframe: In Germany, SAP released R/2, the integrated ERP system that would define enterprise computing. In Massachusetts, Infocom was founded to commercialize Zork, the text adventure born on MIT's PDP-10 mainframes.
For 46 years, they ran on parallel tracks. Until last month.
Microsoft released the original source code for Zork I. The stars aligned. It was time for a family reunion.
I got nostalgic. I wanted to play Zork I: The Great Underground Empire. But I didn't want to play it in a browser or a terminal. I wanted to play it where I spend my time: In SAP GUI.
So, I decided to port the Z-Machine (Infocom's Virtual Machine) into SAP S/4HANA.
The Z-Namespace destiny... you knew it. In SAP development, every custom object must start with the letter Z: (Also Y, but Y is not used widely. And no one knows why Y is not used)
So it felt like it was meant to be here.
"Alice," you say, "Writing a Virtual Machine in ABAP takes weeks of reading bit-level specs."
It took one day.
And I wrote almost none of it:
I used VSP (Vibing-Steampunk) — my open-source bridge that gives Claude (or Copilot/Codex/Mistral Vibe - any other Assistant) direct access to the SAP system via MCP. I treated the AI not as a chatbot, but as a Senior ABAP Developer who loves retro specs.
Here is what happened when my Z-Machine crashed on the first turn:
Me: "It crashes when I try to LOOK. Plz debug."
Claude didn't guess. Using VSP, Claude:
This isn't just generating text. This is Digital Archaeology assisted by Artificial Intelligence.
I now have Zork running in S/4HANA.
But the real story isn't the game. It's the capability.
If an AI agent can read a 1980s technical spec, navigate a custom ABAP stack, and debug runtime errors to reunite two pieces of 1979 history...
...imagine what it can do for your 2005 legacy code ^_^ (Yes, even with ECC).
Credits:
P.S. West of House. There is a transport request here.
#SAP #ABAP #Zork #RetroGaming #AI #MCP #DigitalArchaeology #OpenSource #Microsoft
Shout out to Scott Hanselman: Tnx for driving Open Source initiative ^_^
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 36 | |
| 25 | |
| 17 | |
| 16 | |
| 16 | |
| 15 | |
| 13 | |
| 13 | |
| 12 | |
| 12 |