Handbook
Glossary
?handle-pending-turn ( snake-game -- )
Vocabulary
snake-game
.
game
Inputs
snake-game
an
object
Outputs
None
Definition
USING:
accessors
kernel
;
IN:
snake-game.game
:
?handle-pending-turn
( snake-game -- )
dup
next-turn-dir>>
[
>>snake-dir
f
>>next-turn-dir
]
when*
drop
;