Exemplo n.º 1
0
        static void Main(string[] args)
        {
            RollingDie die     = new RollingDie(10);
            Warrior    warrior = new Warrior("U", 100, 20, 10, die);
            Warrior    enemy   = new Mage("Majin Boo", 100, 20, 10, die, 35, 40);
            Arena      arena   = new Arena(warrior, enemy, die);

            arena.Fight();
            Console.ReadKey();
        }
Exemplo n.º 2
0
        static void Main(string[] args)
        {
            Dice    tenSidedDice = new Dice(10);
            Warrior thrall       = new Warrior("Thrall", 120, 20, 10, tenSidedDice);
            Mage    jaeden       = new Mage("Jaeden", 80, 15, 10, tenSidedDice, 40, 60);
            WarRoom trziste      = new WarRoom(thrall, jaeden, tenSidedDice);

            trziste.GameMatch();

            Console.ReadKey();
        }