Class snake game.