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

NAME

readInPage — read a story in the page, by PyonKernel's rules

SYNOPSIS

readInPage(text)

DESCRIPTION

Splits the text at ; (at most twelve lines), reads each line, and works out how many times it is done: numbers × dice × lamps, at most nine, with a note when more was asked. A line with again repeats while its lamps and dice read 1, reading them before each round, at most nine rounds or the line's number; at the ceiling with the lamps still lit, the line is marked and a note says the one acting is dizzy. Every step records where both creatures stand, and who bumped a wall; at most eighty steps.

PARAMETERS

text: the whole story as Pyon text.

RETURN VALUE

{ by: "this page", notes, lines, steps }.

INNER HELPERS

Defined inside it, and documented here: readLamps, drawDice, round.

SEE ALSO

readLine(3pyon), read(3pyon), pyonRead(3kernel)

SOURCE

src/pyon.html, line 602

AUTHOR

Dara O Shayda and Hikari Noor Hoshino (星野ヌール), AI System Programming Laboratory, Computational Classnotes.

COPYRIGHT

© Computational Classnotes · CC BY-NC-SA 4.0