static Random random = new Random();
static int techniche = 1;
static int strength = 10;
int attack = random.Next(techniche, strength);
bool ownNecklace = false;
bool kingsChoice = false;
string[] randomMonster = new string[]{"Goblin" , "Angry Goat"};
public bool TownChoices()
Console.WriteLine("Where shall you go?");
Console.WriteLine("1) Inn.");
Console.WriteLine("2) Shop.");
Console.WriteLine("3) Royal Palace.");
Console.WriteLine("4) Leave Town.");
Console.Write("\r\nSelect an option: ");
switch (Console.ReadLine())
monsterName = randomMonster[0];
if(monsterName == "Goblin")
if(monsterName == "Angry Goat")
Console.WriteLine("You are attacked by a " + monsterName + " " + monsterHealth);
Console.WriteLine("1) Attack ");
Console.WriteLine("2) Use Potion");
Console.WriteLine("2) Flee");
Console.WriteLine(npcReply);
Console.Write("\r\nSelect an option: ");
switch (Console.ReadLine())
currentHealth = (currentHealth - monsterAttack);
npcReply = monsterAttack.ToString();
public void EnterNewArea()
Console.WriteLine("Gold : " + gold + " " + "Health : " + currentHealth + "/" + maxHealth + " " + "Potion : " + potionCount);
Console.WriteLine("You entered the Shop.");
Console.WriteLine("Would you like to Stay the night?");
Console.WriteLine("1) Stay the night. 50G ");
Console.WriteLine("2) Go back to Town. ");
Console.WriteLine(npcReply);
Console.Write("\r\nSelect an option: ");
switch (Console.ReadLine())
currentHealth = maxHealth;
npcReply = "Looks like you had a good nights sleep.";
npcReply = "You dont have enough, this aint no charity!";
Console.WriteLine("You entered the Shop.");
Console.WriteLine("Would you like to Buy something?");
Console.WriteLine("1) Sword 250G");
Console.WriteLine("2) Sheild 200G ");
Console.WriteLine("3) Necklace 125G");
Console.WriteLine("4) Potion 50G ");
Console.WriteLine("5) Go back to Town");
Console.WriteLine(npcReply);
Console.Write("\r\nSelect an option: ");
switch (Console.ReadLine())
npcReply = "You already bought that.";
npcReply = "Thankyou,good Sir.";
npcReply = "I'm sorry but you dont have enough.";
npcReply = "You already bought that.";
npcReply = "Thankyou,good Sir.";
npcReply = "I'm sorry but you dont have enough.";
npcReply = "You already bought that.";
if (ownNecklace == false)
npcReply = "Thankyou,good Sir.";
npcReply = "I'm sorry but you dont have enough.";
npcReply = "Thankyou,good Sir.";
npcReply = "I'm sorry but you dont have enough.";
public bool RoyalPalace()
if (kingsChoice == false)
Console.WriteLine("You entered the Royal Palace.");
Console.WriteLine("Will you rescue my daughter,Princess Luna?");
Console.WriteLine("1) Of course,your Highness ");
Console.WriteLine("2) What's it worth?");
Console.WriteLine("3) Go back to Town");
Console.WriteLine(npcReply);
Console.Write("\r\nSelect an option: ");
switch (Console.ReadLine())
kingsResponse = "Thank you, may the gods protect you.";
kingsResponse = "Guards! Remove this grifter!";
Console.WriteLine(kingsResponse);
Console.WriteLine("1) Go back to Town ");
Console.Write("\r\nSelect an option: ");
switch (Console.ReadLine())
int battleChance = 100; ;
Console.WriteLine("You Travel along a Dirt Path.");
Console.WriteLine("What will you do?");
Console.WriteLine("1) Move forward ");
Console.WriteLine("2) Go back to Town");
Console.WriteLine(battleChance);
Console.WriteLine("You Reach an old Castle.");
Console.WriteLine("What will you do?");
Console.WriteLine("1) Enter the Castle ");
Console.WriteLine("2) Go back to Town");
Console.WriteLine(npcReply);
Console.Write("\r\nSelect an option: ");
switch (Console.ReadLine())