Handbook
Glossary
<random-piece> ( board-width -- piece )
Vocabulary
tetris
.
piece
Inputs
board-width
an
object
Outputs
piece
an
object
Definition
USING:
kernel
tetris.tetromino
;
IN:
tetris.piece
:
<random-piece>
( board-width -- piece )
random-tetromino
<piece>
swap
set-start-location
;