Skip to Main Content
Game Magic
book

Game Magic

by Jeff Howard
April 2014
Intermediate to advanced content levelIntermediate to advanced
376 pages
10h 41m
English
A K Peters/CRC Press
Content preview from Game Magic
164 Game Magic
Tarot (seeChapter 7, Section 7.1). ere are 32 Trump spells with a variety
of eects, most of them pertaining to either teleportation or summoning.
Zangband includes a function of the form ra ndintx(y), which eec-
tively rolls a die with a number of faces equal to y. e trump spells draw
some of their unpredictability by recursively embedding random integers:
a recipe that could be emulated in other contexts. Shue, a spell-within-
a-spell, simulates the shuing of a Tarot deck with (strangely) 24cards. If
the player draws the Wheel of Fortune card, they trigger another rand-
int function that selects a wild magic eect randomly from among 32
possibilities. Wild magic could itself fall through into a function that su
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Game Art

Game Art

Matt Sainsbury
Game Design Theory

Game Design Theory

Keith Burgun

Publisher Resources

ISBN: 9781466567870