Beispiel #1
0
        static void Main(string[] args)
        {
            Battlefield battlefield = new Battlefield();

            battlefield.RunBattle();
            Console.ReadLine();
        }
Beispiel #2
0
 // Start the Battle and reset battle on PlayAgain.
 public void PlayGame()
 {
     do
     {
         DisplayGameRules();
         battlefield = new Battlefield();
         battlefield.RunBattle();
     } while (PlayAgain());
 }
        static void Main(string[] args)
        {
            Battlefield battlefield = new Battlefield();

            battlefield.RunBattle();

            Console.ReadLine();
            //Robot robotOne = new Robot("RobotOne", "knife");
            //Robot robotTwo = new Robot("RobotTwo", "knife");
            //Robot robotThree = new Robot("RobotThree", "knife");

            //Dinosaur dinosaurOne = new Dinosaur("DinosaurOne", "Tail");
            //Dinosaur dinosaurTwo = new Dinosaur("DinosaurOne", "Tail");
            //Dinosaur dinosaurThree = new Dinosaur("DinosaurOne", "Tail");
        }
Beispiel #4
0
        static void Main(string[] args)
        {
            Battlefield Battle = new Battlefield();

            Battle.RunBattle();
        }
        static void Main(string[] args)
        {
            Battlefield battlefield = new Battlefield();

            battlefield.RunBattle();
        }