snake-game


Vocabulary
snake-game.game

Definition


TUPLE: snake-game
snake snake-loc snake-dir food-loc next-turn-dir
{ score integer initial: 0 } { paused? boolean initial: t }
{ game-over? boolean initial: f } ;