
From Exemplary Game Magic Systems to Code Recipes ◾ 31
memorization through the verb “to know.” e next few functions
allow the player to list currently memorized spells, either indepen-
dently or as part of the inventory of carried objects. e inclusion of
memorized spells in the inventory is signicant, suggesting the primary
use of spells in interactive ction as virtual objects for the purpose of
solving puzzles.
RECIPE 3: CODING VANCIAN MEMORIZATION (FROM
NELSON’S RELIQUES, INFORM7)
SECTION 2(B) - THE CAPACITY FOR MAGIC
Memorisation relates various people to various spells. The
verb to know (he knows, they know, he knew, it is known) ...