## Index of Exercises

The first page reference given is to the exercise and the second to the solution.

- 1. mushroom picking, 80, 435.
- 2. Square Chamber, 81, 435.
- 3. “(first opening door)”, 90, 436.
- 4. “(first unlocking door)”, 90, 436.
- 5. before on second noun, 91, 437.
- 6. orange cloud, 110, 438.
- 7. diverted drops, 110, 438.
- 8. confused exits, 113, 438.
- 9. Maya directions, 114, 439.
- 10. an “xyzzy” direction, 114, 439.
- 11. east becomes west, 114, 439.
- 12. “east” becomes “west”, 114, 440.
- 13. two-way connections, 114, 440.
- 14. pair of silk gloves, 117, 440.
- 15. musical box, 119, 441.
- 16. acquisitive bag, 120, 442.
- 17. glass and steel boxes, 121, 442.
- 18. television set, 121, 442.
- 19. macramé bag, 121, 443.
- 20. plank bridge, 124, 444.
- 21. illusory door, 124, 444.
- 22. cage to open and enter, 128, 445.
- 23. car driving on roads, 129, 445.
- 24. pushing ball uphill, 130, 446.
- 25. Tyndale's Bible, 132, 446.
- 26. bearded psychiatrist, 137, 448.
- 27. guidance computer, 139, 448.
- 28. removing conversation actions, 139, 448.
- 29. game of Simon Says, 140, 449.
- 30. Charlotte clapping, 140, 449.
- 31. Dyslexic Dan, 140, 450.
- 32. grammar for Dan only, 141, 451.
- 33. alarm clock, 141, 451.
- 34. tricorder, 141, 452.
- 35. replicator, 141, 452.
- 36. communications badge, 141, 453.
- 37. Zen flight computer, 142, 454.
- 38. Picard and Maharg, 142, 455.
- 39. Martha the telepath, 142, 455.
- 40. darkness, abolition of, 145, 456.
- 41. troll afraid of the dark, 146, 456.
- 42. thief who wanders, 148, 457.
- 43. weight monitoring, 148, 457.
- 44. an egg-timer, 148, 459.
- 45. sound of scuttling claws, 149, 460.
- 46. harder scuttling claws, 149, 460.
- 47. midnight, 150, 460.
- 48. nightfall and daybreak, 150, 461.
- 49. mid-air location, 150, 462.
- 50. long time-scale game, 150, 462.
- 51. player reacting before, 156, 462.
- 52. silencing player, 156, 462.
- 53. the player's wayhel, 157, 462.
- 54. where there's a wayhel…, 157, 463.
- 55. the hidden burial shaft, 157, 463.
- 56. Giant with conscience, 158, 465.
- 57. chessboard of rooms, 164, 465.
- 58. quotations in boxes, 165, 465.
- 59. varying the prompt, 191, 466.
- 60. remove rules with library messages, 191, 466.
- 61. add rules with library messages, 191, 466.
- 62. printing pronouns, 194, 467.
- 63. chessboard of sixty-four locations, 196, 467.
- 64. inventory inside box, 197, 469.
- 65. very verbose mode, 200, 469.
- 66. double inventory, 203, 470.
- 67. Scrabble pieces, 204, 470.
- 68. denominations of coin, 205, 471.
- 69. I Ching coins, 205, 471.
- 70. alphabetically sorted objects, 205, 474.
- 71. tomato in red or green, 210, 475.
- 72. artiste formerly known as Princess, 210, 475.
- 73. drinks machine, 210, 476.
- 74. parsing names like the parser, 210, 478.
- 75. parsing adjectives, 210, 478.
- 76. referring to objects by number, 210, 478.
- 77. wild-card name, 210, 478.
- 78. multiple-wild-card, 210, 478.
- 79. the ‘Spellbreaker’ cubes, 213, 479.
- 80. cherubim plural, 214, 481.
- 81. genie muddling black and white, 215, 481.
- 82. printing dummy verb, 221, 482.
- 83. footnotes, 226, 482.
- 84. French numbers, 228, 483.
- 85. token resulting in multiple-object, 228, 483.
- 86. floating-point numbers, 228, 484.
- 87. phone numbers, 228, 485.
- 88. parsing times of day, 228, 485.
- 89. spaceship control panel, 228, 488.
- 90. parsing any quoted text, 229, 489.
- 91. third noun for parser, 229, 489.
- 92. parsing Inform numbers, 229, 490.
- 93. and constant names, 229, 490.
- 94. and character constants, 229, 491.
- 95. and attribute names, 229, 491.
- 96. and property names, 229, 492.
- 97. “scope” verb, 232, 492.
- 98. “megalook” verb, 232, 493.
- 99. everything in scope, 234, 493.
- 100. room divided by glass window, 235, 493.
- 101. dwarf breathing in dark, 235, 495.
- 102. player's nose, 236, 496.
- 103. sterilising machine, 236, 497.
- 104. red sticky label, 236, 498.
- 105. “lock” and “unlock” inferring keys, 239, 499.
- 106. faintly lit rooms, 240, 499.
- 107. dative case suffix, 255, 500.
- 108. pronominal adverb, 255, 501.
- 109. Swedish agreement, 255, 501.
- 110. donne-lui l'oiseau, 268, 502.
- 111. dessus et dedans, 268, 502.
- 112. shifting tail of buffer, 268, 503.
- 113. German da + preposition, 268, 503.
- 114. “gna” verb, 270, 504.
- 115. Italian contractions, 271, 505.
- 116. article sets in French, 272, 505.
- 117. article sets in Italian, 272, 505.
- 118. Latin contractions, 272, 506.
- 119. French numbers, 273, 506.
- 120. printing the time, 273, 507.
- 121. French pronouns, 277, 507.
- 122. printf routine, 310, 507.
- 123. title page, 311, 508.
- 124. status line invisible, 311, 508.
- 125. … showing treasure, 312, 509.
- 126. … with compass rose, 312, 509.
- 127. … with centred room, 312, 510.
- 128. wavy margins, 314, 511.
- 129. press any key, 317, 511.
- 130. is a key held down?, 317, 511.
- 131. hurrying the player, 317, 511.
- 132. making the player's mind up for her, 317, 511.
- 133. real-time hourglass, 317, 512.
- 134. mouse testing, 318, 513.
- 135. menu of common commands, 318, 514.
- 136. saving the character, 319, 515.
- 137. ghosts, 319, 515.
- 138. exception handler for actions, 320, 515.