C++ Text Based Adventure Choices Problerm [on hold]
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;
}
}
c++
New contributor
put on hold as off-topic by Jamal♦ 3 mins ago
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "Code not implemented or not working as intended: Code Review is a community where programmers peer-review your working code to address issues such as security, maintainability, performance, and scalability. We require that the code be working correctly, to the best of the author's knowledge, before proceeding with a review." – Jamal
If this question can be reworded to fit the rules in the help center, please edit the question.
add a comment |
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;
}
}
c++
New contributor
put on hold as off-topic by Jamal♦ 3 mins ago
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "Code not implemented or not working as intended: Code Review is a community where programmers peer-review your working code to address issues such as security, maintainability, performance, and scalability. We require that the code be working correctly, to the best of the author's knowledge, before proceeding with a review." – Jamal
If this question can be reworded to fit the rules in the help center, please edit the question.
add a comment |
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;
}
}
c++
New contributor
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++
c++
New contributor
New contributor
New contributor
asked 1 hour ago
Miguel Nicholas SampangMiguel Nicholas Sampang
1
1
New contributor
New contributor
put on hold as off-topic by Jamal♦ 3 mins ago
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "Code not implemented or not working as intended: Code Review is a community where programmers peer-review your working code to address issues such as security, maintainability, performance, and scalability. We require that the code be working correctly, to the best of the author's knowledge, before proceeding with a review." – Jamal
If this question can be reworded to fit the rules in the help center, please edit the question.
put on hold as off-topic by Jamal♦ 3 mins ago
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "Code not implemented or not working as intended: Code Review is a community where programmers peer-review your working code to address issues such as security, maintainability, performance, and scalability. We require that the code be working correctly, to the best of the author's knowledge, before proceeding with a review." – Jamal
If this question can be reworded to fit the rules in the help center, please edit the question.
add a comment |
add a comment |
0
active
oldest
votes
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes