tetris.piece vocabulary
Factor handbook > Vocabulary index


Summary
tetris.piece vocabulary

Meta-data
Authors:Alex Chapman


Words

Tuple classes
ClassSuperclassSlots
piece tupletetromino rotation location


Ordinary words
WordStack 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 )
modulo( n m -- n )
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 )


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


Files