static void Main(string[] args) { Human vlad = new Human("Vlad"); Human dima = new Human("Dima", 20, 30, 40, 3000); vlad.Attack(dima); vlad.Attack(dima); }
public static void Main(string[] args) { Human nathan = new Human("Nathan"); Human rob = new Human("Rob"); nathan.Attack(rob); nathan.Attack(rob); nathan.Attack(rob); }
static void Main(string[] args) { Human weakling = new Human("Glassjaw Joe", 1, 1, 7, 50); System.Console.WriteLine("A new challenger, {0}, has arrived to the fight! {0} brings in {1} strength, {2} intelligence, {3} dexterity, and has {4} health.", weakling.Name, weakling.Strength, weakling.Intelligence, weakling.Dexterity, weakling.Health); Human tank = new Human("Butter Bean", 7, 1, 1, 100); tank.Attack(tank, weakling); tank.Attack(tank, weakling); }
static void Main(string[] args) { Human myhuman1 = new Human("The Name"); Human myhuman2 = new Human("Human2 Name", 50, 25, 75, 95); myhuman1.Attack(myhuman2); myhuman1.Attack(myhuman2); myhuman1.Attack(myhuman2); myhuman1.Attack(myhuman2); System.Console.WriteLine("done"); }
static void Main(string[] args) { Human X = new Human("X"); // System.Console.WriteLine(X.name); Human Y = new Human("Y"); X.Attack(Y); X.Attack(Y); System.Console.WriteLine(Y.health); Y.Attack(X); System.Console.WriteLine(X.health); }
static void Main(string[] args) { Console.WriteLine("Hello World!"); Human h1 = new Human("H1", 5, 4, 3, 100); Human h2 = new Human("H2"); h1.Attack(h2); h1.Attack(h2); h1.Attack(h2); h2.Attack(h1); h1.Attack(h1); Console.WriteLine("Health of " + h1.name + " = " + h1.health); Console.WriteLine("Health of " + h2.name + " = " + h2.health); }
static void Main(string[] args) { Human bob = new Human("bob"); Human fred = new Human("fred"); bob.Attack(fred); }
static void Main(string[] args) { Human matt = new Human("matt", 3, 90, 3, 100); Human zoe = new Human("zoe", 3, 90, 3, 100); System.Console.WriteLine(matt.Name); System.Console.WriteLine(zoe.Name); System.Console.WriteLine(matt.Strength); System.Console.WriteLine(matt.Intelligence); System.Console.WriteLine(matt.Dexterity); System.Console.WriteLine(matt.health); matt.Attack(zoe); System.Console.WriteLine(zoe.health); zoe.TakeDmg(10); zoe.Attack(matt); System.Console.WriteLine(matt.health); System.Console.WriteLine(zoe.health); }
static void Main(string[] args) { Console.WriteLine("Hello World!"); Human theOne = new Human("Mr. Anderson", 3, 3, 3, 100); System.Console.WriteLine(theOne.Name); System.Console.WriteLine($"strength: {theOne.Strength}"); System.Console.WriteLine($"intelligence: {theOne.Intelligence}"); System.Console.WriteLine($"dexterity: {theOne.Dexterity}"); System.Console.WriteLine($"health: {theOne.Health}"); Human theAgent = new Human("Mr. Smith", 3, 3, 3, 100); System.Console.WriteLine(theAgent.Name); System.Console.WriteLine($"strength: {theAgent.Strength}"); System.Console.WriteLine($"intelligence: {theAgent.Intelligence}"); System.Console.WriteLine($"dexterity: {theAgent.Dexterity}"); System.Console.WriteLine($"health: {theAgent.Health}"); theOne.Attack(theAgent); System.Console.WriteLine(theAgent.Name); System.Console.WriteLine($"strength: {theAgent.Strength}"); System.Console.WriteLine($"intelligence: {theAgent.Intelligence}"); System.Console.WriteLine($"dexterity: {theAgent.Dexterity}"); System.Console.WriteLine($"health: {theAgent.Health}"); }
static void Main(string[] args) { Human Mendel = new Human("Mendel"); Human Bob = new Human("Bob"); Mendel.Attack(Bob); }
public static void Main(string[] args) { Human batman = new Human("Batman"); Human catwoman = new Human("Cat Woman"); batman.Attack(catwoman); }
static void Main(string[] args) { Human danny = new Human("Danny"); Human robert = new Human("Robert"); Wizard charles = new Wizard("Charles"); Ninja cindy = new Ninja("Cindy"); Samurai sammy = new Samurai("Sammy"); charles.Heal(); charles.Fireball(danny); danny.Attack(robert); cindy.Steal(charles); cindy.GetAway(); sammy.DeathBlow(charles); sammy.DeathBlow(charles); sammy.DeathBlow(charles); sammy.DeathBlow(charles); sammy.Meditate(); Ninja.HowMany(); }
static void Main(string[] args) { Human alpha = new Human("Joe", 3, 10, 10, 100); Human beta = new Human("Jack", 3, 3, 3, 50); alpha.Attack(beta); }
static void Main(string[] args) { Human dennis = new Human("dennis", 100, 3, 3, 3); Human liz = new Human("Liz", 100, 3, 3, 3); liz.Attack(dennis); System.Console.WriteLine(dennis.health); }
static void Main(string[] args) { Human alpha = new Human("Alpha"); Human beta = new Human("Beta", 10, 10, 10, 150); alpha.Attack(beta); Console.WriteLine(beta.health); }
static void Main(string[] args) { Human tim = new Human("Tim"); Human josh = new Human("Josh", 5, 5, 6, 5000); tim.Attack(josh); Console.WriteLine(josh.Health); }
static void Main(string[] args) { Human human1 = new Human("Kim"); Human human2 = new Human("Jae", 2, 2, 2, 100); human1.Attack(human2); human2.Attack(human1); }
static void Main(string[] args) { Human dustin = new Human("Dustin"); Human mike = new Human("Mike"); dustin.Attack(mike); Console.WriteLine(mike.Health); }
static void Main(string[] args) { Human noah = new Human("noah"); Human john = new Human("john"); Console.WriteLine(noah.GetHealth); john.Attack(noah); }
static void Main(string[] args) { Human first = new Human("Suzzie"); Human second = new Human("Jill"); first.Attack(second); System.Console.WriteLine(second.health); System.Console.WriteLine(first.health); }
static void Main(string[] args) { Human human1 = new Human("Dave"); Human human2 = new Human("Steve", 5, 6, 3, 80); human1.DisplayHealth(); human2.DisplayHealth(); human2.Attack(human1); }
static void Main(string[] args) { Human jedi = new Human("Luke"); Human sith = new Human("Darth"); jedi.Attack(sith); System.Console.WriteLine(jedi.health); System.Console.WriteLine(sith.health); }
static void Main(string[] args) { Human bob = new Human("Bob"); Human billy = new Human("Billy", 4); billy.Attack(bob); bob.Display(); billy.Display(); }
static void Main(string[] args) { var player1 = new Human("1337"); var player2 = new Human("Nub"); Console.WriteLine(player1); Console.WriteLine(player2); player2.Attack(player1); }
static void Main(string[] args) { Console.WriteLine("Hello World!"); Human Mary = new Human("Mary"); Human Charles = new Human("Charles"); Console.WriteLine("Victims Health is {0}", Mary.Attack(Charles)); Console.WriteLine("Victims Health is {0}", Charles.Attack(Mary)); }
static void Main(string[] args) { Human rob = new Human("Robby"); Human bobby = new Human("Bobby"); System.Console.WriteLine("Bobby's Health: " + bobby.Health); rob.Attack(bobby); System.Console.WriteLine("Boddy's Health after: " + bobby.Health); }
static void Main(string[] args) { Human bob = new Human("Bob"); Human eric = new Human("Eric"); System.Console.WriteLine($"Bob's health before attack: {bob.getHealth()}"); System.Console.WriteLine($"Eric's strength: {eric.Strength}"); eric.Attack(bob); System.Console.WriteLine($"Bob's health after attack: {bob.getHealth()}"); }
static void Main(string[] args) { Human Eddie = new Human("Eddie", 3, 3, 3, 100); Human BMike = new Human("Mike", 3, 9, 3, 200); Console.WriteLine("Kick his axx S.B"); Eddie.Attack(BMike); Console.WriteLine($"{Eddie.name} just kicked {BMike.name}'s A.., {BMike.name}'s health:{BMike.health}"); Console.WriteLine($"{Eddie.intelligence}, {BMike.dexterity}"); }
static void Main(string[] args) { // Console.WriteLine("Hello World!"); Human myHuman = new Human("Nick"); System.Console.WriteLine(myHuman.Health); Human myEnemy = new Human("Teng", 5, 5, 5, 50); myHuman.Attack(myEnemy); }
public static void Main(string[] args) { // Human man = new Human("Bob"); // Console.WriteLine("The name is "+man.name); Human player1 = new Human("Hero", 40, 8, 16, 500); Human player2 = new Human("Villian", 40, 10, 16, 700); player1.Attack(player2); Console.WriteLine($"After being attacked by the {player1.name}, the {player2.name}'s health is now {player2.health}"); }