C++ Text Based Adventure Choices Problerm












0














Ive been working on a project (for school) to make a adventure based game, now story wise i can do but somehow my program wont read choices unless you pick the first choice






#include <stdlib.h>
#include <time.h>
#include <windows.h>
#include <chrono>
#include <thread>
#include <iostream>
#include <string>
using std::string;
using namespace std;
int main() {

cout << "Welcome to the Void.n"
"The Negligence of the Voidn"
"In this story, your choice matters to this world.n"
"For this story adapts to the choices you choose.n"
"So choose carefully, one move will change the senario.n" << endl;

system("PAUSE");


cout << "" << endl;
cout << "Let me tell you a tale of an ember, a power of balance, changed Yundr. " << endl;
Sleep(1000);
cout << "In the age of the darkness, A land named Yundr was unformed, shrouded by fogs, filled with dark entities." << endl;
Sleep(1000);
cout << "But then there was fire, and with fire came disparity. Heat and cold, life and death, and of course, light and dark." << endl;
Sleep(1000);
cout << "Then from the dark, they came, and found the Souls of Lords within the flame." << endl;
Sleep(1000);
cout << "Gwyn, a noble warrior was the first one to withstand the flame, made it as his own." << endl;
Sleep(1000);
cout << "Eli, a witch in studies that was cable to withstand the flame." << endl;
Sleep(1000);
cout << "And Nero, the man who was survived the first onslaught of the darkness also withstand the flame." << endl;
Sleep(1000);
cout << "" << endl;
system("PAUSE");

cout << "" << endl;
cout << "It was fortold that the ember is the only key of balancing between good and evil of the land of Yundr. " << endl;
Sleep(1000);
cout << "Gwyn sought out this great power and used it to cast light around the realm, but after that, the land changed." << endl;
Sleep(1000);
cout << "All entities that were once dead are now alive, some entities that supposed to be dead are now awakened. " << endl;
Sleep(1000);
cout << "They realized that the darkness was casted for a reason, to remain peace of the land, now awakened in destruction " << endl;
Sleep(1000);
cout << "Gwyn and the others used all of their power to defend Yundr, by creating a sanctum, which now called Londor. " << endl;
Sleep(1000);
cout << "Londor was the beacon of Yundr, making it as the safezone of all the land, but alas, it did not took long for the flame to extinguished." << endl;
Sleep(1000);
cout << "Gwyn grew tired of his sanctum and ventured the remaining dark lands of Yundr to claim more land of Yundr." << endl;
Sleep(1000);
cout << "Thus began the Age of Fire. But soon, the flames will fade, and only Dark will remain" << endl;
Sleep(1000);
cout << "Even now, there are only embers, and man sees not light, but only endless nights." << endl;
Sleep(1000);
cout << "And amongst the living are seen, carriers of the accursed Darksign." << endl;
Sleep(1000);
cout << "Yes, indeed. The Darksign brands the Undead and in this land, the Undead are corralled and led to the north," << endl;
Sleep(1000);
cout << "Are locked away, to await the end of the world. " << endl;
Sleep(1000);
cout << "This is your fate." << endl;
Sleep(1000);
cout << "" << endl;
system("PAUSE");


cout << "" << endl;
cout << "You woke up in a deep slumber, what you see in the dark appears to be a prison cell" << endl;
Sleep(1000);
cout << "Not knowing who or what you are." << endl;
Sleep(1000);
cout << "You heard nothing but soothing echoes of a crisped, unwinding flames in the distance." << endl;
Sleep(1000);
cout << " Pondering of how you end up in here or purpose of being here" << endl;
Sleep(1000);
cout << "You looked around to find a way to escape this cell." << endl;
Sleep(1000);
cout << "So far you can only see a bucket, a wooden bench hanging from the wall with chains and a rusted metal rod." << endl;
Sleep(1000);
cout << "Inspect (bucket) / Inspect (bench) / Inspect (metal rod)" << endl;
Sleep(1000);
string inspect;
cin >> inspect;

if (inspect == "bucket")
{
cout << "You inspected the bucket, you found some pieces of a makeshift lockpick.n" << endl;
cout << "You're wondering if this lockpick is stable enough to open the cell gate.n" << endl;
cout << "(use) lockpick /" << endl;
string locka;
cin >> locka;
}
else if (inspect == "bench")
{
cout << "It's just a old rusted bench that somehow still stable after all this years.n" << endl;
cout << "Inspect (bucket) / Inspect (metal rod)" << endl;
Sleep(1000);
string inspect;
cin >> inspect;
}
else if (inspect == "metal rod")
{
cout << "It can be used as a weapon, but you noticed that there are no guards around, weird." << endl;
cout << "Inspect (bucket) / Inspect (bench)" << endl;
Sleep(1000);
string inspect;
cin >> inspect;
}

}












share|improve this question







New contributor




Miguel Nicholas Sampang is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

























    0














    Ive been working on a project (for school) to make a adventure based game, now story wise i can do but somehow my program wont read choices unless you pick the first choice






    #include <stdlib.h>
    #include <time.h>
    #include <windows.h>
    #include <chrono>
    #include <thread>
    #include <iostream>
    #include <string>
    using std::string;
    using namespace std;
    int main() {

    cout << "Welcome to the Void.n"
    "The Negligence of the Voidn"
    "In this story, your choice matters to this world.n"
    "For this story adapts to the choices you choose.n"
    "So choose carefully, one move will change the senario.n" << endl;

    system("PAUSE");


    cout << "" << endl;
    cout << "Let me tell you a tale of an ember, a power of balance, changed Yundr. " << endl;
    Sleep(1000);
    cout << "In the age of the darkness, A land named Yundr was unformed, shrouded by fogs, filled with dark entities." << endl;
    Sleep(1000);
    cout << "But then there was fire, and with fire came disparity. Heat and cold, life and death, and of course, light and dark." << endl;
    Sleep(1000);
    cout << "Then from the dark, they came, and found the Souls of Lords within the flame." << endl;
    Sleep(1000);
    cout << "Gwyn, a noble warrior was the first one to withstand the flame, made it as his own." << endl;
    Sleep(1000);
    cout << "Eli, a witch in studies that was cable to withstand the flame." << endl;
    Sleep(1000);
    cout << "And Nero, the man who was survived the first onslaught of the darkness also withstand the flame." << endl;
    Sleep(1000);
    cout << "" << endl;
    system("PAUSE");

    cout << "" << endl;
    cout << "It was fortold that the ember is the only key of balancing between good and evil of the land of Yundr. " << endl;
    Sleep(1000);
    cout << "Gwyn sought out this great power and used it to cast light around the realm, but after that, the land changed." << endl;
    Sleep(1000);
    cout << "All entities that were once dead are now alive, some entities that supposed to be dead are now awakened. " << endl;
    Sleep(1000);
    cout << "They realized that the darkness was casted for a reason, to remain peace of the land, now awakened in destruction " << endl;
    Sleep(1000);
    cout << "Gwyn and the others used all of their power to defend Yundr, by creating a sanctum, which now called Londor. " << endl;
    Sleep(1000);
    cout << "Londor was the beacon of Yundr, making it as the safezone of all the land, but alas, it did not took long for the flame to extinguished." << endl;
    Sleep(1000);
    cout << "Gwyn grew tired of his sanctum and ventured the remaining dark lands of Yundr to claim more land of Yundr." << endl;
    Sleep(1000);
    cout << "Thus began the Age of Fire. But soon, the flames will fade, and only Dark will remain" << endl;
    Sleep(1000);
    cout << "Even now, there are only embers, and man sees not light, but only endless nights." << endl;
    Sleep(1000);
    cout << "And amongst the living are seen, carriers of the accursed Darksign." << endl;
    Sleep(1000);
    cout << "Yes, indeed. The Darksign brands the Undead and in this land, the Undead are corralled and led to the north," << endl;
    Sleep(1000);
    cout << "Are locked away, to await the end of the world. " << endl;
    Sleep(1000);
    cout << "This is your fate." << endl;
    Sleep(1000);
    cout << "" << endl;
    system("PAUSE");


    cout << "" << endl;
    cout << "You woke up in a deep slumber, what you see in the dark appears to be a prison cell" << endl;
    Sleep(1000);
    cout << "Not knowing who or what you are." << endl;
    Sleep(1000);
    cout << "You heard nothing but soothing echoes of a crisped, unwinding flames in the distance." << endl;
    Sleep(1000);
    cout << " Pondering of how you end up in here or purpose of being here" << endl;
    Sleep(1000);
    cout << "You looked around to find a way to escape this cell." << endl;
    Sleep(1000);
    cout << "So far you can only see a bucket, a wooden bench hanging from the wall with chains and a rusted metal rod." << endl;
    Sleep(1000);
    cout << "Inspect (bucket) / Inspect (bench) / Inspect (metal rod)" << endl;
    Sleep(1000);
    string inspect;
    cin >> inspect;

    if (inspect == "bucket")
    {
    cout << "You inspected the bucket, you found some pieces of a makeshift lockpick.n" << endl;
    cout << "You're wondering if this lockpick is stable enough to open the cell gate.n" << endl;
    cout << "(use) lockpick /" << endl;
    string locka;
    cin >> locka;
    }
    else if (inspect == "bench")
    {
    cout << "It's just a old rusted bench that somehow still stable after all this years.n" << endl;
    cout << "Inspect (bucket) / Inspect (metal rod)" << endl;
    Sleep(1000);
    string inspect;
    cin >> inspect;
    }
    else if (inspect == "metal rod")
    {
    cout << "It can be used as a weapon, but you noticed that there are no guards around, weird." << endl;
    cout << "Inspect (bucket) / Inspect (bench)" << endl;
    Sleep(1000);
    string inspect;
    cin >> inspect;
    }

    }












    share|improve this question







    New contributor




    Miguel Nicholas Sampang is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.























      0












      0








      0







      Ive been working on a project (for school) to make a adventure based game, now story wise i can do but somehow my program wont read choices unless you pick the first choice






      #include <stdlib.h>
      #include <time.h>
      #include <windows.h>
      #include <chrono>
      #include <thread>
      #include <iostream>
      #include <string>
      using std::string;
      using namespace std;
      int main() {

      cout << "Welcome to the Void.n"
      "The Negligence of the Voidn"
      "In this story, your choice matters to this world.n"
      "For this story adapts to the choices you choose.n"
      "So choose carefully, one move will change the senario.n" << endl;

      system("PAUSE");


      cout << "" << endl;
      cout << "Let me tell you a tale of an ember, a power of balance, changed Yundr. " << endl;
      Sleep(1000);
      cout << "In the age of the darkness, A land named Yundr was unformed, shrouded by fogs, filled with dark entities." << endl;
      Sleep(1000);
      cout << "But then there was fire, and with fire came disparity. Heat and cold, life and death, and of course, light and dark." << endl;
      Sleep(1000);
      cout << "Then from the dark, they came, and found the Souls of Lords within the flame." << endl;
      Sleep(1000);
      cout << "Gwyn, a noble warrior was the first one to withstand the flame, made it as his own." << endl;
      Sleep(1000);
      cout << "Eli, a witch in studies that was cable to withstand the flame." << endl;
      Sleep(1000);
      cout << "And Nero, the man who was survived the first onslaught of the darkness also withstand the flame." << endl;
      Sleep(1000);
      cout << "" << endl;
      system("PAUSE");

      cout << "" << endl;
      cout << "It was fortold that the ember is the only key of balancing between good and evil of the land of Yundr. " << endl;
      Sleep(1000);
      cout << "Gwyn sought out this great power and used it to cast light around the realm, but after that, the land changed." << endl;
      Sleep(1000);
      cout << "All entities that were once dead are now alive, some entities that supposed to be dead are now awakened. " << endl;
      Sleep(1000);
      cout << "They realized that the darkness was casted for a reason, to remain peace of the land, now awakened in destruction " << endl;
      Sleep(1000);
      cout << "Gwyn and the others used all of their power to defend Yundr, by creating a sanctum, which now called Londor. " << endl;
      Sleep(1000);
      cout << "Londor was the beacon of Yundr, making it as the safezone of all the land, but alas, it did not took long for the flame to extinguished." << endl;
      Sleep(1000);
      cout << "Gwyn grew tired of his sanctum and ventured the remaining dark lands of Yundr to claim more land of Yundr." << endl;
      Sleep(1000);
      cout << "Thus began the Age of Fire. But soon, the flames will fade, and only Dark will remain" << endl;
      Sleep(1000);
      cout << "Even now, there are only embers, and man sees not light, but only endless nights." << endl;
      Sleep(1000);
      cout << "And amongst the living are seen, carriers of the accursed Darksign." << endl;
      Sleep(1000);
      cout << "Yes, indeed. The Darksign brands the Undead and in this land, the Undead are corralled and led to the north," << endl;
      Sleep(1000);
      cout << "Are locked away, to await the end of the world. " << endl;
      Sleep(1000);
      cout << "This is your fate." << endl;
      Sleep(1000);
      cout << "" << endl;
      system("PAUSE");


      cout << "" << endl;
      cout << "You woke up in a deep slumber, what you see in the dark appears to be a prison cell" << endl;
      Sleep(1000);
      cout << "Not knowing who or what you are." << endl;
      Sleep(1000);
      cout << "You heard nothing but soothing echoes of a crisped, unwinding flames in the distance." << endl;
      Sleep(1000);
      cout << " Pondering of how you end up in here or purpose of being here" << endl;
      Sleep(1000);
      cout << "You looked around to find a way to escape this cell." << endl;
      Sleep(1000);
      cout << "So far you can only see a bucket, a wooden bench hanging from the wall with chains and a rusted metal rod." << endl;
      Sleep(1000);
      cout << "Inspect (bucket) / Inspect (bench) / Inspect (metal rod)" << endl;
      Sleep(1000);
      string inspect;
      cin >> inspect;

      if (inspect == "bucket")
      {
      cout << "You inspected the bucket, you found some pieces of a makeshift lockpick.n" << endl;
      cout << "You're wondering if this lockpick is stable enough to open the cell gate.n" << endl;
      cout << "(use) lockpick /" << endl;
      string locka;
      cin >> locka;
      }
      else if (inspect == "bench")
      {
      cout << "It's just a old rusted bench that somehow still stable after all this years.n" << endl;
      cout << "Inspect (bucket) / Inspect (metal rod)" << endl;
      Sleep(1000);
      string inspect;
      cin >> inspect;
      }
      else if (inspect == "metal rod")
      {
      cout << "It can be used as a weapon, but you noticed that there are no guards around, weird." << endl;
      cout << "Inspect (bucket) / Inspect (bench)" << endl;
      Sleep(1000);
      string inspect;
      cin >> inspect;
      }

      }












      share|improve this question







      New contributor




      Miguel Nicholas Sampang is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      Ive been working on a project (for school) to make a adventure based game, now story wise i can do but somehow my program wont read choices unless you pick the first choice






      #include <stdlib.h>
      #include <time.h>
      #include <windows.h>
      #include <chrono>
      #include <thread>
      #include <iostream>
      #include <string>
      using std::string;
      using namespace std;
      int main() {

      cout << "Welcome to the Void.n"
      "The Negligence of the Voidn"
      "In this story, your choice matters to this world.n"
      "For this story adapts to the choices you choose.n"
      "So choose carefully, one move will change the senario.n" << endl;

      system("PAUSE");


      cout << "" << endl;
      cout << "Let me tell you a tale of an ember, a power of balance, changed Yundr. " << endl;
      Sleep(1000);
      cout << "In the age of the darkness, A land named Yundr was unformed, shrouded by fogs, filled with dark entities." << endl;
      Sleep(1000);
      cout << "But then there was fire, and with fire came disparity. Heat and cold, life and death, and of course, light and dark." << endl;
      Sleep(1000);
      cout << "Then from the dark, they came, and found the Souls of Lords within the flame." << endl;
      Sleep(1000);
      cout << "Gwyn, a noble warrior was the first one to withstand the flame, made it as his own." << endl;
      Sleep(1000);
      cout << "Eli, a witch in studies that was cable to withstand the flame." << endl;
      Sleep(1000);
      cout << "And Nero, the man who was survived the first onslaught of the darkness also withstand the flame." << endl;
      Sleep(1000);
      cout << "" << endl;
      system("PAUSE");

      cout << "" << endl;
      cout << "It was fortold that the ember is the only key of balancing between good and evil of the land of Yundr. " << endl;
      Sleep(1000);
      cout << "Gwyn sought out this great power and used it to cast light around the realm, but after that, the land changed." << endl;
      Sleep(1000);
      cout << "All entities that were once dead are now alive, some entities that supposed to be dead are now awakened. " << endl;
      Sleep(1000);
      cout << "They realized that the darkness was casted for a reason, to remain peace of the land, now awakened in destruction " << endl;
      Sleep(1000);
      cout << "Gwyn and the others used all of their power to defend Yundr, by creating a sanctum, which now called Londor. " << endl;
      Sleep(1000);
      cout << "Londor was the beacon of Yundr, making it as the safezone of all the land, but alas, it did not took long for the flame to extinguished." << endl;
      Sleep(1000);
      cout << "Gwyn grew tired of his sanctum and ventured the remaining dark lands of Yundr to claim more land of Yundr." << endl;
      Sleep(1000);
      cout << "Thus began the Age of Fire. But soon, the flames will fade, and only Dark will remain" << endl;
      Sleep(1000);
      cout << "Even now, there are only embers, and man sees not light, but only endless nights." << endl;
      Sleep(1000);
      cout << "And amongst the living are seen, carriers of the accursed Darksign." << endl;
      Sleep(1000);
      cout << "Yes, indeed. The Darksign brands the Undead and in this land, the Undead are corralled and led to the north," << endl;
      Sleep(1000);
      cout << "Are locked away, to await the end of the world. " << endl;
      Sleep(1000);
      cout << "This is your fate." << endl;
      Sleep(1000);
      cout << "" << endl;
      system("PAUSE");


      cout << "" << endl;
      cout << "You woke up in a deep slumber, what you see in the dark appears to be a prison cell" << endl;
      Sleep(1000);
      cout << "Not knowing who or what you are." << endl;
      Sleep(1000);
      cout << "You heard nothing but soothing echoes of a crisped, unwinding flames in the distance." << endl;
      Sleep(1000);
      cout << " Pondering of how you end up in here or purpose of being here" << endl;
      Sleep(1000);
      cout << "You looked around to find a way to escape this cell." << endl;
      Sleep(1000);
      cout << "So far you can only see a bucket, a wooden bench hanging from the wall with chains and a rusted metal rod." << endl;
      Sleep(1000);
      cout << "Inspect (bucket) / Inspect (bench) / Inspect (metal rod)" << endl;
      Sleep(1000);
      string inspect;
      cin >> inspect;

      if (inspect == "bucket")
      {
      cout << "You inspected the bucket, you found some pieces of a makeshift lockpick.n" << endl;
      cout << "You're wondering if this lockpick is stable enough to open the cell gate.n" << endl;
      cout << "(use) lockpick /" << endl;
      string locka;
      cin >> locka;
      }
      else if (inspect == "bench")
      {
      cout << "It's just a old rusted bench that somehow still stable after all this years.n" << endl;
      cout << "Inspect (bucket) / Inspect (metal rod)" << endl;
      Sleep(1000);
      string inspect;
      cin >> inspect;
      }
      else if (inspect == "metal rod")
      {
      cout << "It can be used as a weapon, but you noticed that there are no guards around, weird." << endl;
      cout << "Inspect (bucket) / Inspect (bench)" << endl;
      Sleep(1000);
      string inspect;
      cin >> inspect;
      }

      }








      #include <stdlib.h>
      #include <time.h>
      #include <windows.h>
      #include <chrono>
      #include <thread>
      #include <iostream>
      #include <string>
      using std::string;
      using namespace std;
      int main() {

      cout << "Welcome to the Void.n"
      "The Negligence of the Voidn"
      "In this story, your choice matters to this world.n"
      "For this story adapts to the choices you choose.n"
      "So choose carefully, one move will change the senario.n" << endl;

      system("PAUSE");


      cout << "" << endl;
      cout << "Let me tell you a tale of an ember, a power of balance, changed Yundr. " << endl;
      Sleep(1000);
      cout << "In the age of the darkness, A land named Yundr was unformed, shrouded by fogs, filled with dark entities." << endl;
      Sleep(1000);
      cout << "But then there was fire, and with fire came disparity. Heat and cold, life and death, and of course, light and dark." << endl;
      Sleep(1000);
      cout << "Then from the dark, they came, and found the Souls of Lords within the flame." << endl;
      Sleep(1000);
      cout << "Gwyn, a noble warrior was the first one to withstand the flame, made it as his own." << endl;
      Sleep(1000);
      cout << "Eli, a witch in studies that was cable to withstand the flame." << endl;
      Sleep(1000);
      cout << "And Nero, the man who was survived the first onslaught of the darkness also withstand the flame." << endl;
      Sleep(1000);
      cout << "" << endl;
      system("PAUSE");

      cout << "" << endl;
      cout << "It was fortold that the ember is the only key of balancing between good and evil of the land of Yundr. " << endl;
      Sleep(1000);
      cout << "Gwyn sought out this great power and used it to cast light around the realm, but after that, the land changed." << endl;
      Sleep(1000);
      cout << "All entities that were once dead are now alive, some entities that supposed to be dead are now awakened. " << endl;
      Sleep(1000);
      cout << "They realized that the darkness was casted for a reason, to remain peace of the land, now awakened in destruction " << endl;
      Sleep(1000);
      cout << "Gwyn and the others used all of their power to defend Yundr, by creating a sanctum, which now called Londor. " << endl;
      Sleep(1000);
      cout << "Londor was the beacon of Yundr, making it as the safezone of all the land, but alas, it did not took long for the flame to extinguished." << endl;
      Sleep(1000);
      cout << "Gwyn grew tired of his sanctum and ventured the remaining dark lands of Yundr to claim more land of Yundr." << endl;
      Sleep(1000);
      cout << "Thus began the Age of Fire. But soon, the flames will fade, and only Dark will remain" << endl;
      Sleep(1000);
      cout << "Even now, there are only embers, and man sees not light, but only endless nights." << endl;
      Sleep(1000);
      cout << "And amongst the living are seen, carriers of the accursed Darksign." << endl;
      Sleep(1000);
      cout << "Yes, indeed. The Darksign brands the Undead and in this land, the Undead are corralled and led to the north," << endl;
      Sleep(1000);
      cout << "Are locked away, to await the end of the world. " << endl;
      Sleep(1000);
      cout << "This is your fate." << endl;
      Sleep(1000);
      cout << "" << endl;
      system("PAUSE");


      cout << "" << endl;
      cout << "You woke up in a deep slumber, what you see in the dark appears to be a prison cell" << endl;
      Sleep(1000);
      cout << "Not knowing who or what you are." << endl;
      Sleep(1000);
      cout << "You heard nothing but soothing echoes of a crisped, unwinding flames in the distance." << endl;
      Sleep(1000);
      cout << " Pondering of how you end up in here or purpose of being here" << endl;
      Sleep(1000);
      cout << "You looked around to find a way to escape this cell." << endl;
      Sleep(1000);
      cout << "So far you can only see a bucket, a wooden bench hanging from the wall with chains and a rusted metal rod." << endl;
      Sleep(1000);
      cout << "Inspect (bucket) / Inspect (bench) / Inspect (metal rod)" << endl;
      Sleep(1000);
      string inspect;
      cin >> inspect;

      if (inspect == "bucket")
      {
      cout << "You inspected the bucket, you found some pieces of a makeshift lockpick.n" << endl;
      cout << "You're wondering if this lockpick is stable enough to open the cell gate.n" << endl;
      cout << "(use) lockpick /" << endl;
      string locka;
      cin >> locka;
      }
      else if (inspect == "bench")
      {
      cout << "It's just a old rusted bench that somehow still stable after all this years.n" << endl;
      cout << "Inspect (bucket) / Inspect (metal rod)" << endl;
      Sleep(1000);
      string inspect;
      cin >> inspect;
      }
      else if (inspect == "metal rod")
      {
      cout << "It can be used as a weapon, but you noticed that there are no guards around, weird." << endl;
      cout << "Inspect (bucket) / Inspect (bench)" << endl;
      Sleep(1000);
      string inspect;
      cin >> inspect;
      }

      }





      #include <stdlib.h>
      #include <time.h>
      #include <windows.h>
      #include <chrono>
      #include <thread>
      #include <iostream>
      #include <string>
      using std::string;
      using namespace std;
      int main() {

      cout << "Welcome to the Void.n"
      "The Negligence of the Voidn"
      "In this story, your choice matters to this world.n"
      "For this story adapts to the choices you choose.n"
      "So choose carefully, one move will change the senario.n" << endl;

      system("PAUSE");


      cout << "" << endl;
      cout << "Let me tell you a tale of an ember, a power of balance, changed Yundr. " << endl;
      Sleep(1000);
      cout << "In the age of the darkness, A land named Yundr was unformed, shrouded by fogs, filled with dark entities." << endl;
      Sleep(1000);
      cout << "But then there was fire, and with fire came disparity. Heat and cold, life and death, and of course, light and dark." << endl;
      Sleep(1000);
      cout << "Then from the dark, they came, and found the Souls of Lords within the flame." << endl;
      Sleep(1000);
      cout << "Gwyn, a noble warrior was the first one to withstand the flame, made it as his own." << endl;
      Sleep(1000);
      cout << "Eli, a witch in studies that was cable to withstand the flame." << endl;
      Sleep(1000);
      cout << "And Nero, the man who was survived the first onslaught of the darkness also withstand the flame." << endl;
      Sleep(1000);
      cout << "" << endl;
      system("PAUSE");

      cout << "" << endl;
      cout << "It was fortold that the ember is the only key of balancing between good and evil of the land of Yundr. " << endl;
      Sleep(1000);
      cout << "Gwyn sought out this great power and used it to cast light around the realm, but after that, the land changed." << endl;
      Sleep(1000);
      cout << "All entities that were once dead are now alive, some entities that supposed to be dead are now awakened. " << endl;
      Sleep(1000);
      cout << "They realized that the darkness was casted for a reason, to remain peace of the land, now awakened in destruction " << endl;
      Sleep(1000);
      cout << "Gwyn and the others used all of their power to defend Yundr, by creating a sanctum, which now called Londor. " << endl;
      Sleep(1000);
      cout << "Londor was the beacon of Yundr, making it as the safezone of all the land, but alas, it did not took long for the flame to extinguished." << endl;
      Sleep(1000);
      cout << "Gwyn grew tired of his sanctum and ventured the remaining dark lands of Yundr to claim more land of Yundr." << endl;
      Sleep(1000);
      cout << "Thus began the Age of Fire. But soon, the flames will fade, and only Dark will remain" << endl;
      Sleep(1000);
      cout << "Even now, there are only embers, and man sees not light, but only endless nights." << endl;
      Sleep(1000);
      cout << "And amongst the living are seen, carriers of the accursed Darksign." << endl;
      Sleep(1000);
      cout << "Yes, indeed. The Darksign brands the Undead and in this land, the Undead are corralled and led to the north," << endl;
      Sleep(1000);
      cout << "Are locked away, to await the end of the world. " << endl;
      Sleep(1000);
      cout << "This is your fate." << endl;
      Sleep(1000);
      cout << "" << endl;
      system("PAUSE");


      cout << "" << endl;
      cout << "You woke up in a deep slumber, what you see in the dark appears to be a prison cell" << endl;
      Sleep(1000);
      cout << "Not knowing who or what you are." << endl;
      Sleep(1000);
      cout << "You heard nothing but soothing echoes of a crisped, unwinding flames in the distance." << endl;
      Sleep(1000);
      cout << " Pondering of how you end up in here or purpose of being here" << endl;
      Sleep(1000);
      cout << "You looked around to find a way to escape this cell." << endl;
      Sleep(1000);
      cout << "So far you can only see a bucket, a wooden bench hanging from the wall with chains and a rusted metal rod." << endl;
      Sleep(1000);
      cout << "Inspect (bucket) / Inspect (bench) / Inspect (metal rod)" << endl;
      Sleep(1000);
      string inspect;
      cin >> inspect;

      if (inspect == "bucket")
      {
      cout << "You inspected the bucket, you found some pieces of a makeshift lockpick.n" << endl;
      cout << "You're wondering if this lockpick is stable enough to open the cell gate.n" << endl;
      cout << "(use) lockpick /" << endl;
      string locka;
      cin >> locka;
      }
      else if (inspect == "bench")
      {
      cout << "It's just a old rusted bench that somehow still stable after all this years.n" << endl;
      cout << "Inspect (bucket) / Inspect (metal rod)" << endl;
      Sleep(1000);
      string inspect;
      cin >> inspect;
      }
      else if (inspect == "metal rod")
      {
      cout << "It can be used as a weapon, but you noticed that there are no guards around, weird." << endl;
      cout << "Inspect (bucket) / Inspect (bench)" << endl;
      Sleep(1000);
      string inspect;
      cin >> inspect;
      }

      }






      c++






      share|improve this question







      New contributor




      Miguel Nicholas Sampang is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      share|improve this question







      New contributor




      Miguel Nicholas Sampang is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      share|improve this question




      share|improve this question






      New contributor




      Miguel Nicholas Sampang is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked 23 mins ago









      Miguel Nicholas SampangMiguel Nicholas Sampang

      1




      1




      New contributor




      Miguel Nicholas Sampang is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      Miguel Nicholas Sampang is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      Miguel Nicholas Sampang is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






















          0






          active

          oldest

          votes











          Your Answer





          StackExchange.ifUsing("editor", function () {
          return StackExchange.using("mathjaxEditing", function () {
          StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
          StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["\$", "\$"]]);
          });
          });
          }, "mathjax-editing");

          StackExchange.ifUsing("editor", function () {
          StackExchange.using("externalEditor", function () {
          StackExchange.using("snippets", function () {
          StackExchange.snippets.init();
          });
          });
          }, "code-snippets");

          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "196"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });






          Miguel Nicholas Sampang is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fcodereview.stackexchange.com%2fquestions%2f211152%2fc-text-based-adventure-choices-problerm%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          Miguel Nicholas Sampang is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          Miguel Nicholas Sampang is a new contributor. Be nice, and check out our Code of Conduct.













          Miguel Nicholas Sampang is a new contributor. Be nice, and check out our Code of Conduct.












          Miguel Nicholas Sampang is a new contributor. Be nice, and check out our Code of Conduct.
















          Thanks for contributing an answer to Code Review Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          Use MathJax to format equations. MathJax reference.


          To learn more, see our tips on writing great answers.





          Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


          Please pay close attention to the following guidance:


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fcodereview.stackexchange.com%2fquestions%2f211152%2fc-text-based-adventure-choices-problerm%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          List directoties down one level, excluding some named directories and files

          list processes belonging to a network namespace

          list systemd RuntimeDirectory mounts