Handbook
Glossary
add-block ( tetris block -- )
Vocabulary
tetris
.
game
Inputs
tetris
an
object
block
an
object
Outputs
None
Definition
USING:
accessors
kernel
tetris.board
;
IN:
tetris.game
:
add-block
( tetris block -- )
over
[
board>>
]
2dip
current-piece
tetromino>>
color>>
set-block
;