Use the arrow keys. I was developing a snake game, and this is what happens when there is a bug... ( go into the food in different directions, and you'll see what I mean) The amount of bodies shows you how many cubes have been spawned ( most of them are on top of each other)
BTW, this was part of the dev, and is more of an experiment, so a purposeful error if that makes sense. Updates: 1.1: I pulled this out of the dust of my projects and tried again, using a new system. 1.2: building on 1.1, experimenting with ideas 1.3: ditched it (for now) and started on snake 2.0