History¶
Zork (also named as 'Dungeon') is a text adventure game written by Tim Anderson, Marc Blank, Bruce Daniels, and Dave Lebling in 1980. I ported its C source code (without any modification) to be used under Qt Creator. Note that because the C standard has changed considerably and because I left the original code unmodified, compiling will yield a lot of compile warnings (*).
To start the program under Linux, libncurses5-dev might need to be installed (*):
(*) Thanks to Fatdroid for asking me to mention this
Compiling under OpenSUSE 12.1¶
John Lange agreed to share his experience compiling Zork under OpenSUSE 12.1:
[...] and also let you know that I was quite easily able to compile it under OpenSUSE 12.1 with only a few minor tweaks.
The first problem is that the file names in the makefile are lowercase, but the files are all uppercase which was easily solved by renaming all the files to lower-case.
Second problem is the termcap path. Under SUSE I had to set it to:
LIBS = /usr/lib64/termcap/libtermcap.aOne last thing, in Linux there is a "file end" character (shows as ^Z) on the very last line of the makefile that also needs to be removed or "make" generates an error about a syntax error.
Thanks, John!
External links¶
Licence¶
Zork's copyright is held by Activision.