X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=appendices%2Fd.rst;fp=appendices%2Fd.rst;h=6155e1fdcfc89cb7afd8ae82fc055d99eda2b632;hb=1c3abccc2a2caca47ff3ec3539ff53466eb2fe69;hp=0000000000000000000000000000000000000000;hpb=7a7b15f69f40dbe90b71990ab45a59ed60846df1;p=ibg.git diff --git a/appendices/d.rst b/appendices/d.rst new file mode 100644 index 0000000..6155e1f --- /dev/null +++ b/appendices/d.rst @@ -0,0 +1,73 @@ +.. raw:: latex + + \newpage + +=================================== + Appendix D -- "Captain Fate" story +=================================== + + +.. only:: html + + .. image:: /images/picC.png + :align: left + +.. raw:: latex + + \dropcap{c} + +aptain Fate is our third and final game; it's a little longer and more +complex than its predecessors. See "Captain Fate: take 1" on page 119, +"Captain Fate: take 2" on page 131, "Captain Fate: take 3" on page 147 +and "Captain Fate: the final cut" on page 157. + +Transcript of play +================== + +.. literalinclude:: /examples/Fate.txt + :language: transcript + +Game source code +================ + +.. literalinclude:: /examples/Fate.inf + :language: inform6 + +Compile-as-you-go +================= + +"Captain Fate" suffers from the same difficulty as "William Tell": if +you type the code sequentially as you read through the guide, the game +won't compile until you reach the end of Chapter 13. To compile and test +as you go, add these stubs to the end of the game file when you reach +the end of Chapter 10:: + + ! ================================================================ + ! TEMPORARY DEFINITIONS NEEDED TO COMPILE AT THE END OF CHAPTER 10 + Room cafe; + Object clothes; + +Replace those stubs with these at the end of Chapter 11:: + + ! ================================================================ + ! TEMPORARY DEFINITIONS NEEDED TO COMPILE AT THE END OF CHAPTER 11 + + Room toilet; + Object clothes; + Object costume; + +and with these at the end of Chapter 12:: + + ! ================================================================ + ! TEMPORARY DEFINITIONS NEEDED TO COMPILE AT THE END OF CHAPTER 12 + + Room toilet; + Object clothes; + Object costume; + Object coin; + Object coffee; + Object food; + Object menu; + +At the end of Chapter 13 the game is complete, so you can delete the +temporary stubs.