Mystery House in Python (CodeSkulptor)

November 10, 2012

This is a tribute to the first graphical interactive fiction game: Mystery House by Sierra-On-Line. It’s loosely based on the Inform code from http://turbulence.org/Works/mystery but all the logics is implemented from scratch. My version is a little more user-friendly than the original. (Actually, I had never played the original Mystery House apart from the Inform version, but I used to be a huge fan of Sierra quests :)

It works in a browser-based simplified Python IDE called CodeSkulptor, created by prof. Scott Rixner of Rice University. CodeSkulptor works in Chrome, Firefox and Safari (but not IE). Click here for the game; click “run” (the leftmost button with a triangle) to run the game.

There’s also an autoplay option, for those who are curious about the game but don’t want to struggle with playing it (especially because text input is so inconvenient – currently it’s impossible to clear the text field and let it keep the mouse focus). It can be disabled by setting use_autoplay = False at the beginning of the code. Autoplay follows the hardcoded walkthrough, it can be paused and resumed.

Leave a Reply




Unable to load the Are You a Human PlayThru™. Please contact the site owner to report the problem.