Commit Graph

2 Commits

Author SHA1 Message Date
61a1c140f4 Probably fixed rare bug:
the pseudo-random routine pseudo-randomly generated X,Y for new piece of food
that corresponded to immediately next snake head position.
This X,Y resulted empty when checked in the routine, but suddenly after it
is overwritten with snake head, so food simply disappears.
This leads to impossible game play, because no new pieces of food are
generated if no food is previously eaten, but there is no food to eat, so...
Hope to have fixed.
2017-12-22 12:30:42 +01:00
c13a54c266 First commit 2017-12-21 15:14:42 +01:00