Handbook
Glossary
snake-will-eat-food? ( snake-game -- ? )
Vocabulary
snake-game
.
game
Inputs
snake-game
an
object
Outputs
?
an
object
Definition
USING:
accessors
kernel
;
IN:
snake-game.game
:
snake-will-eat-food?
( snake-game -- ? )
[
food-loc>>
]
[
snake-loc>>
]
[
snake-dir>>
]
tri
move-loc
=
;