static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); SnakeForm snakeForm = new SnakeForm(); GameController game = new GameController(snakeForm); snakeForm.game = game; game.start(); Application.Run(snakeForm); }