RUN(3CUBES)Pyon manual · Kirakira Hop · Cubes (cubes.html)RUN(3CUBES)

NAME

run — ▶ Go!: play the program

SYNOPSIS

run()

DESCRIPTION

Unrolls the program: each line's moves, repeated as its numbers say. Then plays the moves one by one from the start. For each: onto sky, the creature hops over the edge and falls (ひゃっ!); onto a stack higher than its jump reaches (more than one cube for the jump, any for a hop), it bumps and stays (ぷにっ!); otherwise it hops or jumps onto the stack's top face, dropping down when lower, and gathers a Shizuku flower there. After every move the Gloom eats a row every few moves (the level's pace). The run ends at the meadow (home), at a fall, when the Gloom reaches the creature's row, at ■, or when the moves run out. A fall or the Gloom costs a heart; with none left, three new ones are given. The lines are always kept.

RETURN VALUE

A promise.

SEE ALSO

win(3cubes), tween(3cubes), drawGloom(3cubes), times(3cubes), stopRun(3cubes)

SOURCE

src/cubes.html, line 254

AUTHOR

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

COPYRIGHT

© Computational Classnotes · CC BY-NC-SA 4.0