Interactive Fiction: Two room puzzle

I’m going to be showing some students how to create interactive fiction with Inform 7. The first task for them will be to replicate this two room puzzle:


Filed under games, work

4 Responses to Interactive Fiction: Two room puzzle

  1. Neil Hopkins

    I got 0 out of 0, apparently. I was expecting an achievement and some gamer points at the very least!

  2. deKay

    Scoring will be optional for the course. If it makes you happy you can have a big gold star on me?

  3. Dan

    >get key
    >open door
    It seems to be locked.
    >open door with key
    You unlock the wooden door

    Maybe you could get them to do some logic that lets a player use “open door” as a viable command if they already have the key? (Not that I’ve ever used Inform 7, so that might be trickier than it sounds…)

  4. deKay

    Oh of course – that’s pretty simple, but purposefully left out. The aim is to get a very basic, no-frills game that shows the mechanics of an IF game before they create their own. They don’t even know what IF is yet, let alone how to write it!

Leave a Reply