Handbook
Glossary
new-current-piece ( tetris -- tetris )
Vocabulary
tetris
.
game
Inputs
tetris
an
object
Outputs
tetris
an
object
Definition
USING:
accessors
kernel
lists
;
IN:
tetris.game
:
new-current-piece
( tetris -- tetris )
dup
game-over?
[
f
>>running?
]
[
[
cdr
]
change-pieces
]
if
;