Handbook
Glossary
(rotate-piece) ( rotation inc n-states -- rotation' )
Vocabulary
tetris
.
piece
Inputs
rotation
an
object
inc
an
object
n-states
an
object
Outputs
rotation'
an
object
Definition
USING:
kernel
math
;
IN:
tetris.piece
:
(rotate-piece)
( rotation inc n-states -- rotation' )
[
+
]
dip
rem
;