haven't actually played this, but here's the code and i can compile it super easy:
https://gitlab.com/esr/open-adventure
some discussion on poking around in the code:
http://esr.ibiblio.org/?p=7540
not sure if this already exists somewhere, but i see @Silent-Hunter may have a version on the...