In this update, the food won't spawn inside the snake.
However during testing I noticed that it will sometimes spawn outside the playing field. I will fix that bug in the next update.
I also added the P key for pausing the game.
The snake now grows when he eats a food cube.
He cannot die yet when he crashes into the wall, nor is there is score counter at the moment.
Nor does he die when he crashes into his tail.