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.