public void Go()

        {
            //Main method check if there are more invaders


            //If no more invaders call the newWave method;
            if (invaders.InvadersLeft == 0)
            {
                newWave();
            }

            //Check if the initial picture should be displayed
            if ((DateTime.Now - initialScreen).TotalSeconds < 5)
            {
            }
            else
            {
                if (playerShip.Alive == false)
                {
                    //Pauses the game function to run the animation of the ship when it dies and decreases
                    //The number of lives
                    if ((DateTime.Now - playerShip.timeOfDeath).TotalSeconds > 3)
                    {
                        playerShip.Alive = true;
                        LivesLeft        = -1;
                    }
                }
                else
                {
                    invaders.MoveInvaders();
                    invaders.ReturnFire(wave, random);
                    enemyShots.Move(boundaries);
                    playerShots.Move(boundaries);
                    invaders.CheckForCollisions(display);
                    playerShip.CheckForCollisions();
                }
            }
        }