public static void Main()
System.Random randomNumberGenerator = new System.Random();
Console.WriteLine("I'll drive, you check the surroundings.");
Console.WriteLine("If we're lucky, we'll find gas and food on the way.");
Console.WriteLine("If not... Well, we're fucked my friend.");
Console.WriteLine("Press [ENTER] to continue.");
townNumber = townNumber+1;
Console.WriteLine("We're now approaching town " + townNumber + ", do you want to stop? [y/n]");
while (validInput == false)
string input = Console.ReadLine();
Console.WriteLine("You stopped at town number " + townNumber);
int lootFood = randomNumberGenerator.Next(1,maxLootFood+1);
int lootGas = randomNumberGenerator.Next(1,maxLootGas+1);
int lootAmmo = randomNumberGenerator.Next(1,maxLootAmmo+1);
Console.WriteLine("You found " + lootFood + " food, " + lootGas + " gas, and " + lootAmmo + " ammo. ");
Console.WriteLine("You DID NOT STOP at town number " + townNumber);
Console.WriteLine("You have to take a decision! [y/n]");
Console.WriteLine("GameOver");