Parents: | tetris |
Authors: | Alex Chapman |
Class | Superclass | Slots |
piece | tuple | tetromino rotation location |
Word | Stack effect |
(piece-blocks) | ( piece -- blocks ) |
(rotate-piece) | ( rotation inc n-states -- rotation' ) |
<piece-llist> | ( board-width -- llist ) |
<piece> | ( tetromino -- piece ) |
<random-piece> | ( board-width -- piece ) |
move-piece | ( piece move -- piece ) |
piece-blocks | ( piece -- blocks ) |
piece-width | ( piece -- width ) |
rotate-piece | ( piece inc -- piece ) |
set-start-location | ( piece board-width -- piece ) |
Word | Stack effect |
piece? | ( object -- ? ) |