public static void Main()
Console.WriteLine("You stumble upon 3 treasure chests.");
Console.WriteLine("[Press (1) for common [0 gold], (2) for rare [10 gold], or (3) for legendary [25 gold].");
int chestChoice = Convert.ToInt16(Console.ReadLine());
else if (chestChoice < 1)
Console.WriteLine("Chose common chest");
Console.WriteLine("Chose rare chest");
Console.WriteLine("Lost 10 gold.");
Console.WriteLine("Chose legendary chest");
Console.WriteLine("Lost 25 gold.");
public static void treasureType()
Random item = new Random();
int treasureType = item.Next(1,4);
Console.WriteLine("Got attack boost!");
Console.WriteLine("Got health boost!");
Console.WriteLine("Got healing potions!");