Parents: | tetris |
Authors: | Alex Chapman |
Class | Superclass | Slots |
tetris | tuple | board pieces last-update rows score paused? running? |
Word | Stack effect |
(rotate) | ( inc tetris -- ) |
<default-tetris> | ( -- tetris ) |
<new-tetris> | ( old -- new ) |
<tetris> | ( width height -- tetris ) |
?update | ( tetris -- ) |
add-block | ( tetris block -- ) |
add-rows | ( tetris rows -- tetris ) |
add-score | ( tetris n-rows -- tetris ) |
can-move? | ( tetris move -- ? ) |
can-rotate? | ( tetris -- ? ) |
current-piece | ( tetris -- piece ) |
default-height | ( -- value ) |
default-width | ( -- value ) |
game-over? | ( tetris -- ? ) |
level | ( tetris -- level ) |
lock-piece | ( tetris -- ) |
move-down | ( tetris -- ) |
move-drop | ( tetris -- ) |
move-left | ( tetris -- ) |
move-right | ( tetris -- ) |
new-current-piece | ( tetris -- tetris ) |
next-piece | ( tetris -- piece ) |
rotate-left | ( tetris -- ) |
rotate-right | ( tetris -- ) |
rows-score | ( level n -- score ) |
score-rows | ( tetris n -- ) |
tetris-move | ( tetris move -- ? ) |
toggle-pause | ( tetris -- ) |
update | ( tetris -- ) |
update-interval | ( tetris -- interval ) |
Word | Stack effect |
tetris? | ( object -- ? ) |