About this project

This repository provides a C++20 port of the final 616-point version of Zork, originally written at MIT circa 1978–1981. The port aims to follow the original MDL logic, structures, functions, and modules as directly as possible, so it is intentionally not a modernized C++ redesign. Exceptions are saving/restoring, which uses Boost serialization, and input/output, which uses C++ cin/cout. Restarting uses platform-specific code to locate the application. The game does not obfuscate or encrypt its text, rooms, or puzzles. The project supports Linux (gcc-12 or newer), macOS, and Windows 32/64-bit (Visual Studio 2022). It requires a C++20 compiler and Boost filesystem, serialization, and system libraries. The README notes the build used Boost 1.85.0 and earlier/later versions v1.70 or newer will probably work. CMake presets are provided for Linux, macOS, and Windows, with build output placed in ./out/build/[preset name]/zork[.exe]. A TERMINAL command simulates 1970s-era terminal output. A separate, not-yet-integrated project uses AI-generated images in zork_pics; images are named by room ID from roomdefs.h, and contributors can add images via pull request.