public static string name;
public static int money = 0;
public static int health = 5;
name = Console.ReadLine();
public static int GetHealth()
public static int Money()
public static string GetNme()
public static int damage;
public static string Name;
public static void NewAttack(int NewAttack)
public static void NewName(string NewName)
public static int GetPrice()
public static string SwordName()
public static int Damage()
public static void Main()
player p1 = new player();
Console.WriteLine("...");
Console.WriteLine("you wake up , dizzy , under what remains of your house.");
Console.WriteLine("you dont remember anything not even your name . ");
Console.WriteLine("what is your name ?");
Console.WriteLine("you see a goblin coming to make sure everyone in your village is dead and the attack was succesful");
Console.WriteLine("you look around you for a weapon");
Console.WriteLine("Perfect ! a wood sword you take it");
Console.WriteLine("enter start to continue");
string start = Console.ReadLine();
Console.WriteLine("First you need a tutorial to know how to kill the goblin");
Console.WriteLine("each turn you and your opponent choose an action between :");
Console.WriteLine("1 : attack");
Console.WriteLine("2 : dodge");
Console.WriteLine("3 : use a potion");
Console.WriteLine("4 : wait (choose one more next turn");
Console.WriteLine("the only way of knowing what the other picked is by drinking a specific potion");
Console.WriteLine("enter fight to start the fight");
string hhh = Console.ReadLine();
Console.WriteLine("Goblin : 3HP");
Console.WriteLine(player.GetNme() + " : " + p1.GetHealth);