First of all this is a code based text adventure game. its written in C++ so in order to run it either run via something that can run C++ or use cpp.sh its just a simple C++ shell. cpp shell can randomly stop working although it does work. copy and paste the code from here on on to there to simply play it. hope you enjoy forgot to mention remove all code from the cpp shell first. any questions post below and i'll try to help you! #include <string> #include<iostream> using namespace std; int main() { string tmp; cout << "Hello if you see a blank area with no insturction type and hit enter to continue" << endl; cout << "Spyro, The Dragon, Code Of The Dragon"; cout << " Good Luck" << endl; string myName = "Spyro"; string XY = "Spyro and Sparx were on an adventure"; cout << XY << endl; string XYZ = "When all of a sudden Gnasty Gnorc Zapped them into a code"; string ABC = "Spyro Quickly ran to light as a way to escape"; string XYB = "All of suden him and sparx quickly got zapped in to rooms of puzzles"; string LOL = "As Spyro you have to free him in order free him and the dragons from Gnasty Gnorc"; cout << XYZ << endl; cout << ABC << endl; cout << XYB << endl; cout << LOL << endl; string LMG = "As the dragons have been frozen in crystal quick you must hurry to save them you dont have much time!"; cout << LMG << endl; cin >> tmp; for (int x = 0; x < 1; x++) { cout << "Challenge Started." << endl; if (x < 4) {} } while (myName != "Spyro") { cout << "Enter The Name Of Dah Game!:" << endl; cin >> myName; } cout << "So this a test is it." << endl; cout << "Nothing we cant do! we'll complete it and kick some gnorc butt!" << endl; cout << "Alright Sparx! Lets go!" << endl; int POP; cin >> tmp; int num = 87; cout << "Enter a Number:" << endl; cin >> POP; while (POP != 87) { if (POP > num) cout << "Go Lower and " << endl; if (POP < num) cout << "Go Higher and "; cout << "Enter a Number:" << endl; cin >> POP; } cin >> tmp; cout << "Yess! We got it buddy! Come on sparx lets go!" << endl; cout << "Ugh a 2nd challenge this will probably be a bit harder!" << endl; cout << "Oh well nothing we cant do! isnt that right sparx!" << endl; cin >> tmp; cout << "It say's what were the two most popular platformers for the playstation 1!" << endl; cout << "Alright buddy! So What was the first one?" << endl; //cin >> tmp; string SPY= " "; getline(cin, SPY); while (SPY != "Crash Bandicoot") { getline(cin, SPY); if (SPY == "Crash Bandicoot") { cout << "Correct" << endl; } else { cout << "Not Correct" << endl; cout << "Try Again" << endl; } } cout << "Sweet we got it! Now what's the second one? "; cin >> tmp; string CRA = " "; getline(cin, CRA); while (CRA != "Spyro The Dragon") { if (CRA == "Spyro The Dragon") { cout << "Correct" << endl; } else { cout << "Not Correct" << endl; cout << "Try Again" << endl; getline(cin, CRA); } } cout << "Alright Sparx We,ve got to stage three!" << endl; cout << "You ready for our final test? Im sure we can do it!" << endl; cout << "Buz Buz bez buz bee!" << endl; cin >> tmp; cout << "Alright Here We Go" << endl; cout << "Type Enter And Hit Enter To Continue" << endl; cin >> tmp; for (int x = 0; x < 10; x++) { cout << "ErR0R FaLiUre Tu RNU " << endl; if (x < 4) {} { } } cout << "What uh oh sparx! An ErR0R We may be in for something big" << endl; cout << "Enter iN PaZCoDer" << endl; cin >> tmp; string ERA = " "; getline(cin, ERA); while (ERA != "ErR0R FaLiUre Tu RNU") { cout << ERA << endl; if (ERA == "ErR0R FaLiUre Tu RNU") { cout << "correct" << endl; } else { cout << "Not Correct" << endl; cout << "Try Again" << endl; getline(cin, ERA); } } cin >> tmp; cout << "We Got It! ErR0R is gone! Sweet HAHA!" << endl; cout << "Wait SPARX! W-W-WHAT IS THAT?!?!" << endl; cout << "Buddy you could have seriously been killed by that explosion" << endl; cout << "You lucky i saved you! I-I-IS THAT ErR0R" << endl; cin >> tmp; cout << "Helu Spiro! IS ErR0R" << endl; cout << "I QM YUOR FINEAL TSET LXL" << endl; cout << "I WLLI D3STREUY OYU!" << endl; cout << "N-N-NO! YOU STAND NO CHANCE ErR0R" << endl; cin >> tmp; for (int i = 0; i < 90; i++) { cout << endl; } cout << "..." << endl; cout << "FINAL BATTLE BEGIN!" << endl; int TOP; cin >> tmp; int mun = 1998; cout << "Enter a Number:" << endl; cin >> TOP; while (TOP != 1998) { if (TOP > mun) cout << "Go Lower and " << endl; if (TOP < mun) cout << "Go Higher and "; cout << "Enter a Number:" << endl; cin >> TOP; } cout << "AGHAHA!!! DOREN OYU TALKA RIS!" << endl; cout << "Alright Sparx! We got it! only two more hits!" << endl; cout << "Buz Bez Mhm Bee" << endl; cin >> tmp; int KOP; cin >> tmp; int sum = 1608; cout << "Enter a Number:" << endl; cin >> KOP; while (KOP != 1608) { if (KOP > sum) cout << "Go Lower and " << endl; if (KOP < sum) cout << "Go Higher and "; cout << "Enter a Number:" << endl; cin >> KOP; } cout << "N-N-NU HWU MAKALAH YRUR DAED NEW!! U STEPID DARGON!" << endl; cout << "Pfft ErR0R Your going down i mean your lazer dont do squash! isnt that right sparx?" << endl; cout << "Bez Berz Bee Bee Buz" << endl; cin >> tmp; int POK; cin >> tmp; int mon = 17373; cout << "Enter a Number:" << endl; cin >> POK; while (POK != 17373) { if (POK > mon) cout << "Go Lower and " << endl; if (POK < mon) cout << "Go Higher and "; cout << "Enter a Number:" << endl; cin >> POK; } for (int i = 0; i < 90; i++) { cout << endl; } cin >> tmp; cout << "WHQT U DEM DARGON OYU Wo-n-n-n-t b-q-q-eeeet M-" << endl; cout << "HA he was nothing! he couldnt do it! We-We-WE WON SPARX" << endl; cout << "Whats that buddy?" << endl; cout << "Buz Buz Bee Boo Brz" << endl; cout << "Your asking what about the dragons still in crystal?" << endl; cout << "Here we go again..." << endl; cin >> tmp; cout << "End of game dialouge" << endl; cout << "Continue?" << endl; cin >> tmp; for (int i = 0; i < 90; i++) { cout << endl; } cout << "Spyro And Sparx Were let free and ejected out of the Missingno Portal" << endl; cout << "They went on to free all 80 Dragons of the dragon world" << endl; cout << "He also collected all 12,000 or is it 14,000 Treasure" << endl; cout << "Spyro and Sparx were comfortable in the dragon realm until Dragon Shores" << endl; cout << "This game was coded by Spyrovsgnorg i hoped you enjoy. don't be a jerk. and don't remove this part of code" << endl; cin >> tmp; return 0; }
It is written in C++. So no. It wouldn't work in Python. As for the game. Neat idea. FYI to anyone interested. cpp.sh is a website. Lots of the prompts seem to only be answerable by looking at the source code. haha