tetris.game vocabulary
Factor handbook > Vocabulary index


Summary
tetris.game vocabulary

Meta-data
Authors:Alex Chapman


Words

Tuple classes
ClassSuperclassSlots
tetris tupleboard pieces last-update rows score paused? running?


Ordinary words
WordStack 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 )


Class predicate words
WordStack effect
tetris?( object -- ? )


Files