Inventory This is the complete source code of the example game Alice1.inf.
Back to List
01 ! Through the Looking-Glass
02 ! An Inform tutorial by Gareth Rees
03 ! All rights given away
04 ! Version 1
06 Constant Story "THROUGH THE LOOKING GLASS";
07 Constant Headline "^An Interactive Tutorial^by Gareth Rees^";
08 Constant DEBUG;
10 Include "parser";
11 Include "verblib";
12 Include "grammar";
14 Object Drawing_Room "Drawing room"
15 has light
16 with name "snow",
17 description "The gentle sound of snow against the window pane
18 suggests that it's cold outside, and you're glad to be here
19 in the warmth. The drawing-room is reflected in the large
20 looking-glass on the wall above the mantelpiece, and a very
21 comfortable room it is too, with a warm hearth, a soft rug
22 and an arm-chair that you can curl up and sleep in.";
24 [ Initialise;
25 location = Drawing_Room;
26 print "^^^^^It's a cold winter day outside, but in the looking-glass
27 house it's summer. All you need to do is pretend there's a way of
28 getting through into it somehow...^^";
This is the complete source code of the example game Alice1.inf.
Last updated 23 June 2004.
This site is no longer supported; information may be out of date.
Maintained as a historical archive by the Interactive Fiction Technology Foundation. Copyright 1993-2018 IFTF, CC-BY-SA unless otherwise noted.
This page was originally managed by Graham Nelson (email@example.com) assisted by C Knight.