048c14a35d8bb0052dfd23f1b23588a1ac09cfe0
[ibg.git] / appendices / b.rst
1 .. raw:: latex
2
3    \newpage
4
5 =============================
6  Appendix B -- "Heidi" story
7 =============================
8
9 .. only:: html
10
11   .. image:: /images/picH.png
12      :align: left
13
14 .. raw:: latex
15
16     \dropcap{h}
17
18 eidi in the Forest is our first -- and simplest -- game. We describe it in
19 three chapters: "Heidi: our first Inform game" on page 33, "Reviewing the
20 basics" on page 49 and "Heidi revisited" on page 59.  Here is a run-time
21 transcript, and then the original and extended source files.
22
23 Transcript of play
24 ==================
25
26 .. literalinclude:: /examples/Heidi.txt
27    :language: transcript
28
29 Game source code -- original version
30 ====================================
31
32 .. literalinclude:: /examples/Heidi.inf
33    :language: inform6
34
35 Game source code -- revisited
36 =============================
37
38 .. literalinclude:: /examples/HeidiPlus.inf
39    :language: inform6