NAME
playResult β play every step of a reading
SYNOPSIS
playResult(res, view, tok)
DESCRIPTION
Shows the square when the story uses arrows and walks the creatures home; draws the lines read, fading those that will not happen; then plays each step in order. When a line has lamps or dice, they glow first and the creature shows what each read (π‘ = 1, π = 0). When a line repeats, the creature counts each round aloud. The move's tile glows while it is done; arrows walk, or squish at a wall; tricks play their action.
PARAMETERS
res: the reading, from read(). view: the lines to draw. tok: the play's token; playing stops as soon as it is no longer current.
RETURN VALUE
A promise that settles at the end.
SEE ALSO
SOURCE
AUTHOR
Dara O Shayda and Hikari Noor Hoshino (ζιγγΌγ«), AI System Programming Laboratory, Computational Classnotes.
COPYRIGHT
Β© Computational Classnotes Β· CC BY-NC-SA 4.0
