Handbook
Glossary
snake-unoccupied-indices ( snake head-loc -- points )
Vocabulary
snake-game
.
game
Inputs
snake
an
object
head-loc
an
object
Outputs
points
an
object
Definition
USING:
kernel
sets
;
IN:
snake-game.game
:
snake-unoccupied-indices
( snake head-loc -- points )
[
all-indices
]
2dip
snake-occupied-indices
without
;