Inform 7

22 May 2009

I first stumbled on Inform 7 months ago in an article in a magazine, and have played with it a little a few times since then. Inform 7 is a programming language that resembles natural English when written and is specifically designed for writing interactive text game adventures.

Photographing is an action applying to one thing. Understand "photograph [something]" as photographing.
Before photographing the temple:
say "*click*[line break]You get a great shot of the temple ruins.";
award 5 points.

As the short snippet of code shows, it is very easy to write understable code compared to other languages designed for Interactive Fiction - and as you are writing English it is very much writing a 'story'.

However, there are some situations where you just can't get it to understand you which is quite frustrating - especially for programmers who are used to the 'tight' syntax of normal languages which helps you get code to compile.

But, for the purpose of writing for enjoyment, this is not too much of an issue and the few times I've used Inform I have enjoyed writing small scenarios to play through without reading much of the documentation. Most of the time, if you think of something and write it, it will happen!

For those of you interested more, the website is at http://www.inform7.com/ (and their old website is located at http://www.inform-fiction.org/).

 

Comments

Nobody has commented on this post yet.

Add comment

If you wish, you can add a comment.