[Tutor] engines - minor typo in snake

Gregor Lingl glingl@aon.at
Thu, 18 Jul 2002 22:45:43 +0200


Gregor Lingl schrieb:

> Hi Cameron, hi Pythonistas!
>
> By accident I'm just working on a tiny (and well known) game
> (see attachment!) It has... 

a minor typo built-in (as it happens sometimes with work in progress),
which hinders creation of new food when a new game restarts -
and uses the old one --- poor snake!!:

line 32:

        selfFutter = None

should read (of course):

        self.Futter = None

sorry for the inconvenience
Gregor