Interactive fiction in Python ?

I’ve just been researching Interactive Fiction (aka text adventure) systems written in Python. I’ve always wanted to make an interactive fiction, but never quite got around to it. I even started learning the Inform language a few years back, which can be compiled to run on the Infocom Z-machine interpreters (like Frotz, among many others). Of course, I’d rather write it in Python since there’s more chance I could add some custom features to the game.

As tempting as is it to reinvent the wheel and write my own IF interpretor in Python, I figured it was likely that others had already done this grunt work for me. After a bit of Googling, so far Python Universe Builder (PUB) looks like the best option. Hopefully this will save me from the grue.

No related posts.

This entry was posted on Wednesday, April 9th, 2008 at 9:57 am and is filed under inform, python. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

3 Responses to “Interactive fiction in Python ?”

  1. perry Says:

    Actually after writing this, I’ve started playing with Inform again. Inform 7 seems pretty slick … it now comes with it’s own clean and simple IDE, including great online documentation. I’m going to give Inform a “red hot go” before fiddling with other IF systems at the moment.

  2. Gregg Lind Says:

    I actually think that PAWS (http://home.fuse.net/wolfonenet/PAWS.htm) is much better written, if you choose to go with a Python system.

    I always found with both Inform and TADS that things went fine until I wanted to really do something complicated, at which point, I was out of luck, but maybe that’s just me.

  3. perry Says:

    I took a quick look at the PAWS documentation … it certainly does look well documented, and being written in Python means it shouldn’t be too tough to integrate a PAWS interactive fiction game as a component of some other larger graphical Pygame creation. The downside is that it appears much more verbose when compared with Inform to do simple things … but I get your point … doing very tricky things in Inform would turn out really painful, if not impossible. I think I’ll check it out PAWS properly before embarking on any serious IF project. Cheers !

Leave a Reply