PLAYRESULT(3PYON)Pyon manual Β· the Pyon app (index.html)PLAYRESULT(3PYON)

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

stepsWithLamps(3pyon), walk(3pyon), ACT(3pyon), onPlay(3pyon)

SOURCE

src/pyon.html, line 662

AUTHOR

Dara O Shayda and Hikari Noor Hoshino (ζ˜Ÿι‡ŽγƒŒγƒΌγƒ«), AI System Programming Laboratory, Computational Classnotes.

COPYRIGHT

Β© Computational Classnotes Β· CC BY-NC-SA 4.0