tetris.board vocabulary
Factor handbook ยป Vocabulary index


Summary

Metadata
Parents:tetris
Authors:Alex Chapman


Words

Tuple classes
ClassSuperclassSlots
board tuplewidth height rows


Ordinary words
WordStack effect
<board>( width height -- board )
add-row( board -- board )
block( board block -- color )
block-free?( board block -- ? )
block-in-bounds?( board block -- ? )
board@block( board block -- n row )
check-rows( board -- n )
location-valid?( board block -- ? )
make-rows( width height -- rows )
piece-valid?( board piece -- ? )
remove-full-rows( board -- board )
row-not-full?( row -- ? )
set-block( board block color -- )
top-up-rows( board -- )


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


Files


Metadata files