//this keeps looping until launcher is closed
        static void runLauncher()
        {
            //check if StartButton is pressed > start game. Else exit program.
            if (launcher.StartPressed == true)
            {
                game = new UltimatePong(launcher.playerAmount, launcher.livesAmount, launcher.powerups,launcher.bounceType);
                game.Run();

                // Restart the app passing "/restart [processId]" as cmd line args
                Application.Exit();
                Process.Start(Application.ExecutablePath, "/restart" + Process.GetCurrentProcess().Id);
            }
        }