public static void Main()
Console.WriteLine("Type anything to earn cookies or type 'shop' to enter the shop");
string typed = Console.ReadLine();
if(typed != "shop" && inShop == false)
if(typed == "shop" && inShop == false)
Console.WriteLine("You have " + cookies + " cookies");
Console.WriteLine("Type anything to earn cookies or type 'shop' to enter the shop");
int cookiesPerTypeAmount = 1;
Console.WriteLine("You have " + cookies + " cookies");
Console.WriteLine("Type 1 to earn 1 more cookie per type cost: " + cookiesPerTypeAmount * 50 + " or type 'back' to leave");
if(typed == "1" && inShop == true && cookies >= 50)
cookies -= cookiesPerTypeAmount * 50;
Console.WriteLine("You have " + cookies + " cookies");
Console.WriteLine("Type 1 to earn 1 more cookie per type cost: " + cookiesPerTypeAmount * 50 + " or type 'back' to leave");
if(typed == "back" && inShop == true)
Console.WriteLine("You have " + cookies + " cookies");
Console.WriteLine("Type anything to earn cookies or type 'shop' to enter the shop");