SnakeGame.placeNextApple

Places the next apple to a random empty location. If it can no longer put any new apples anywhere, then the game have been won.

class SnakeGame
void
placeNextApple
()

Meta