Example #1
0
        private static void Main(string[] args)
        {
            Player p1 = new Player(1);
            Player p2 = new Player(2);

            GamePlay BattleShip = new GamePlay();

            BattleShip.PlayGame(p1, p2);
        }
Example #2
0
 static void Main(string[] args)
 {
     bool quit = false;
     GamePlay playGame = new GamePlay();
     do
     {
         playGame.displayMenu();
         playGame.play();
         if (QuitGame())
         {
             quit = true;
         }
         else
         {
             quit = false;
         }
     } while (!quit);
 }
Example #3
0
 static void Main(string[] args)
 {
     GamePlay.Startup();
 }