tetris.piece vocabulary
Factor handbook ยป Vocabulary index


Summary

Metadata
Parents:tetris
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 )
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


Metadata files