Handbook
Glossary
add-score ( tetris n-rows -- tetris )
Vocabulary
tetris
.
game
Inputs
tetris
an
object
n-rows
an
object
Outputs
tetris
an
object
Definition
USING:
accessors
kernel
math
;
IN:
tetris.game
:
add-score
( tetris n-rows -- tetris )
over
level
swap
rows-score
swap
[
+
]
change-score
;