#include <iostream>
#include <string>
using namespace std;
char Player_Choice;
void Town();
void Battlefield();
void Armor_Shop();
void Weapon_Shop();
void Potion_Shop();
void Buy_Item();
string Weapon_Name= "Bare Hands";
string Armor_Name= "Rags";
int Amount_Of_Potions=0;
int Weapon_MiD=2;
int Weapon_MaD=5;
int Armor_MiP=0;
int Armor_MaP=0;
int Gold=100;
int HP_C=500;
int HP_M=500;
int main ()
{
string name;
cout << "\n" ;
cout << "Welcome To the World Of Mirnia\n" ;
cout << "\n\n\n\nWhat is your name?\n" ;
cin >> name;
cout << "\n\nWelcome " << name ;
while(1)
{
cout << "\n\n" ;
cout << "1. To the left you see a Town\n" ;
cout << "2. To the right you see a battlefield\n" ;
cout << "\n" ;
cout << "Which one do you want to goto?\n" ;
cin >> Player_Choice;
cout << Player_Choice;
switch(Player_Choice)
{
case '1': Town(); ; break;
//case '2': BattleField(); ; break; Not done yet
default: break;
}
}
}
void Town()
{
cout << "\n\n" ;
cout << "1. To the left you see a Armor Shop\n" ;
cout << "2. To the right you see a Weapon Shop\n" ;
cout << "3. Straight ahead you see a Potion Shop\n" ;
cout << "\n" ;
cout << "Which one do you want to goto?\n" ;
cin >> Player_Choice ;
switch(Player_Choice)
{
case '1': Armor_Shop(); break;
case '2': Weapon_Shop(); break;
case '3': Potion_Shop(); break;
default: break;
}
}
void Weapon_Shop()
{}
void Potion_Shop()
{}
void Armor_Shop()
{
cout << "As you enter the Shop you see a whole array of armors\n" ;
cout << "1. A leather set\n" ;
cout << "2. A Bronze set\n" ;
cout << "3. A Iron set\n" ;
cout << "4. A Steel set\n" ;
cout << "5. A Titanium set\n" ;
cout << "6. A Tathorium set\n" ;
cout << "7. A Magics set\n" ;
cout << "8. A Rune set set\n" ;
cout << "9. A Dragon Scale set\n" ;
cout << "\n" ;
cout << "What do you wish to purchase" ;
cin >> Player_Choice;
switch( Player_Choice)
{
case 1: break;
case 2: break;
case 3: break;
case 4: break;
case 5: break;
case 6: break;
case 7: break;
case 8: break;
case 9: break;
}
}
void Buy_Item(int Cost, string Item_Name, int Min, int Max,
string *Name_Loc,int *Min_Loc int *Max_Loc)
{
if(Gold-Cost<0)
{ cout << "You seem to be lacking money" ; return; }
else
{ Gold=Gold-Cost; }
}