A Game For Griffin I’ve always wanted to write text adventure games for my children. Griffin in particular is very keen on RPGs.
Unfortunately this is their conception of interactive fiction:
So I have a few expectations to manage… Anyway I wrote a little game in Inform for him, set in our house.
Your Bedroom Your bedroom is stuffed with toys, even in the secret hiding places. To the north you can see the landing. Up a ladder you can see the attic. You can see Milo, a shoe and an Instruction Leaflet here. >
Inform lets you write such things in something approaching plain old English. Here’s the code for room shown above and the room adjacent to it:
Your Bedroom is a room. "Your bedroom is stuffed with toys, even in the secret hiding places. To the north you can see the landing. Up a ladder you can see the attic." There is a shoe in Your Bedroom. The Instruction Leaflet is in Your Bedroom. The description is "The leaflet reads: 'Top Tips: To look at something more closely, try examining it. If you want to go somewhere, try typing the direction you wish to go. Directions are usually given as points on the compass, for example north, south, east or west. You can go up and down too in some places.'"; The Landing is a room. "The walls of the landing are covered in pictures of you and your brother. Stairs lead down. To the north you can see another bedroom, and to the west is a balcony. Your bedroom lies to the south. Another room lies to the east." The Landing is north of Your Bedroom.
It’s a very rough attempt. It’s harder than it may seem to construct an easily flowing narrative that shows what you might be able to do without seeming clunky. But for all its faults Griffin loved it! He wants me to make a much bigger game next time.
And yes, there is a flask. And it cannot be gotten.