watcha2
|
  |
| Joined: 11 Jul 2010 |
| Total Posts: 3888 |
|
|
| 31 Dec 2011 10:12 AM |
Feel free to use it only the intro is done so far ---------------------------------------------------------------------------------------------
print("Hello user 935") print("Press 1 or 2 to ask a question...") q1 = raw_input("1 Who are you? 2 Where am I? :") if q1 == "1": print("We will get to that later on...") if q1 == "2": print("You are in a top secret testing faciltiy") print("Ask another question...") q2 = raw_input("1 Who are you? 2 Where am I? :") if q2 == "1": print("We will get to that later on...") if q2 == "2": print("You are in a top secret testing facility") print("That is all the questions for now.") print("Well uh what was it agian? Well lets call you by your name.") name = raw_input("Please Enter you name here :") print("Welcome "+name) print("1: What am I here for?") print("2: How do I get out of here?") q3 = raw_input("Please select one of these question by the number :") if q3 == "1": print("You are here to complete a series of tests.") if q3 == "2": print("By completing a series of tests.") print("Ask another question...") print("1: What am I here for?") print("2: How do I get out of here?") q3 = raw_input("Please select one of these question by the number :") if q3 == "1": print("You are here to complete a series of tests.") if q3 == "2": print("By completing a series of tests.") print ("you can ask two more questions before we move on to your tests") q4 = raw_input("1: Why me? 2: Will these tests be dangerous?") if q4 == "1": print("Because you are far more than the average human") if q4 == "2": print("You will see as the time comes") print("Ask another question...") q4 = raw_input("1: Why me? 2: Will these tests be dangerous?") if q4 == "1": print("Because you are far more than the average human") if q4 == "2": print("You will see as the time comes")
print("now lets move on to your first test")
|
|
|
| Report Abuse |
|
|
1Ra
|
  |
| Joined: 02 May 2010 |
| Total Posts: 2400 |
|
| |
|
watcha2
|
  |
| Joined: 11 Jul 2010 |
| Total Posts: 3888 |
|
|
| 31 Dec 2011 11:28 AM |
More progress ------------------------------------------------------------------------------------------ print("Hello user 935") print("Press 1 or 2 to ask a question...") q1 = raw_input("1 Who are you? 2 Where am I? :") if q1 == "1": print("We will get to that later on...") if q1 == "2": print("You are in a top secret testing faciltiy") print("Ask another question...") q2 = raw_input("1 Who are you? 2 Where am I? :") if q2 == "1": print("We will get to that later on...") if q2 == "2": print("You are in a top secret testing facility") print("That is all the questions for now.") print("Well uh what was it agian? Well lets call you by your name.") name = raw_input("Please Enter you name here :") print("Welcome "+name) print("1: What am I here for?") print("2: How do I get out of here?") q3 = raw_input("Please select one of these question by the number :") if q3 == "1": print("You are here to complete a series of tests.") if q3 == "2": print("By completing a series of tests.") print("Ask another question...") print("1: What am I here for?") print("2: How do I get out of here?") q3 = raw_input("Please select one of these question by the number :") if q3 == "1": print("You are here to complete a series of tests.") if q3 == "2": print("By completing a series of tests.") print ("you can ask two more questions before we move on to your tests") q4 = raw_input("1: Why me? 2: Will these tests be dangerous?") if q4 == "1": print("Because you are far more than the average human") if q4 == "2": print("You will see as the time comes") print("Ask another question...") q4 = raw_input("1: Why me? 2: Will these tests be dangerous? :") if q4 == "1": print("Because you are far more than the average human") if q4 == "2": print("You will see as the time comes")
print("Now lets move on to your first test") print("This test infact will be dangerous, "+name) print("You must make your way from this platform to the Platform ahead of you") q5 = raw_input("1: How do I do that? :") if q5 == "1": print("I hope you find out soon you have 10 minutes") jump1 = raw_input("1: Jump to platfrom to the right 2: Jump to platform to the left :") if jump1 == "1": print("Good job you made it") if jump1 == "2": print("Good job you made it") print("The next jump takes more skill") jump2 = raw_input("1:Jump to rusty platform 1 1/2 feet away 2:Jump to new platform 3 feet away :") if jump == "1": print("You have failed") if jump2 == "2": print("Congardulations "+name) print("Now there is one last jump") jump3 = raw_input("1: Jump to Finish platform 2:Jump to Ladder") if jump3 == "1": print("You are done with your first test"+name) if jump3 == "2": print("The ladder slips into the darkness below you,You have failed") print("User 583 completed this test perfectly lets see if you can do the same "+name)
|
|
|
| Report Abuse |
|
|
aboy5643a
|
  |
| Joined: 20 Nov 2010 |
| Total Posts: 2785 |
|
|
| 31 Dec 2011 11:33 AM |
| A text based adventure game :o |
|
|
| Report Abuse |
|
|
booing
|
  |
| Joined: 04 May 2009 |
| Total Posts: 6594 |
|
|
| 31 Dec 2011 11:38 AM |
print"advensher!" raw_input("U WANA COM LITL NOB? ") print"WEL DAS 2 BAD *GRABS*" print"OK THAR IS A MONTIN" print"THAR IS A CAV" print"I LIKE CAKE" # The best adventure game[copyright symbol] # its legit # its freeeeeeeeeeeeee # you can do anything # is teh best gam in thr werdkl1!!!111!
~Atheist, dutch, canadian, programmer, "markuper" |
|
|
| Report Abuse |
|
|
Quenty
|
  |
| Joined: 03 Sep 2009 |
| Total Posts: 9316 |
|
|
| 31 Dec 2011 12:10 PM |
| Their actually rather fun, but also annoyingly hard. |
|
|
| Report Abuse |
|
|
|
| 31 Dec 2011 12:16 PM |
| I made a Text based game in BATCH before....It gives you lot's of options but is very long and I wish i could figure out a better way to make it less lines. It's about 596 now....But I don't like lot's of lines because I mostly always wrote efficiently. |
|
|
| Report Abuse |
|
|
nightname
|
  |
| Joined: 10 Jun 2008 |
| Total Posts: 8960 |
|
|
| 31 Dec 2011 12:22 PM |
@Vitouliss14
I am guessing it is a linear text based adventure? Anyway, with Java I created a dynamic pseudo RS-TextRPG.
|
|
|
| Report Abuse |
|
|
|
| 31 Dec 2011 12:24 PM |
| Mine's a Choice based one.....It gives you 4 choices to choose from. Your choices depend on your outcome if you get killed in the game it's INSTANT GAME OVER and you have to start all over again. |
|
|
| Report Abuse |
|
|
nightname
|
  |
| Joined: 10 Jun 2008 |
| Total Posts: 8960 |
|
|
| 31 Dec 2011 12:27 PM |
If yours wasn't choice based, it would probably be more like a self reading book. Anyway, I probably did not explain what I meant by "Dynamic".
My textbased RPG allowed you to do what ever you want - mine, buy weapons, make weapons, fight monsters, etc. And there were 4 cities, each which sold different items.
The problem was that it got boring after 1 hour, as you can easily defeat the game if you know how to play it correctly.
|
|
|
| Report Abuse |
|
|
|
| 31 Dec 2011 12:28 PM |
| Yeah...Mine doesn't give you options to do whatever you want....Maybe i'll add that later when i'm super bored. |
|
|
| Report Abuse |
|
|
|
| 31 Dec 2011 12:31 PM |
| And one time on accident I printed out my source code to the school's printers.........It was about 50 pages and I cringed everyday thinking about it. |
|
|
| Report Abuse |
|
|
watcha2
|
  |
| Joined: 11 Jul 2010 |
| Total Posts: 3888 |
|
|
| 31 Dec 2011 01:08 PM |
print("*Game Notice:Please turn off caps before starting*")
print("Hello user 935") print("Press 1 or 2 to ask a question...") q1 = raw_input("1 Who are you? 2 Where am I? :") if q1 == "1": print("We will get to that later on...") if q1 == "2": print("You are in a top secret testing faciltiy") print("Ask another question...") q2 = raw_input("1 Who are you? 2 Where am I? :") if q2 == "1": print("We will get to that later on...") if q2 == "2": print("You are in a top secret testing facility") print("That is all the questions for now.") print("Well uh what was it agian? Well lets call you by your name.") name = raw_input("Please Enter you name here :") print("Welcome "+name) print("1: What am I here for?") print("2: How do I get out of here?") q3 = raw_input("Please select one of these question by the number :") if q3 == "1": print("You are here to complete a series of tests.") if q3 == "2": print("By completing a series of tests.") print("Ask another question...") print("1: What am I here for?") print("2: How do I get out of here?") q3 = raw_input("Please select one of these question by the number :") if q3 == "1": print("You are here to complete a series of tests.") if q3 == "2": print("By completing a series of tests.") print ("you can ask two more questions before we move on to your tests") q4 = raw_input("1: Why me? 2: Will these tests be dangerous?") if q4 == "1": print("Because you are far more than the average human") if q4 == "2": print("You will see as the time comes") print("Ask another question...") q4 = raw_input("1: Why me? 2: Will these tests be dangerous? :") if q4 == "1": print("Because you are far more than the average human") if q4 == "2": print("You will see as the time comes")
print("Now lets move on to your first test") print("This test infact will be dangerous, "+name) print("You must make your way from this platform to the Platform ahead of you") q5 = raw_input("1: How do I do that? :") if q5 == "1": print("I hope you find out soon you have 10 minutes") jump1 = raw_input("1: Jump to platfrom to the right 2: Jump to platform to the left :") if jump1 == "1": print("Good job you made it") if jump1 == "2": print("Good job you made it") print("The next jump takes more skill") jump2 = raw_input("1:Jump to rusty platform 1 1/2 feet away 2:Jump to new platform 3 feet away :") if jump == "1": print("You have failed") if jump2 == "2": print("Congardulations "+name) print("Now there is one last jump") jump3 = raw_input("1: Jump to Finish platform 2: Jump to Ladder") if jump3 == "1": print("You are done with your first test"+name) if jump3 == "2": print("The ladder slips into the darkness below you,You have failed") print("User 583 completed this test perfectly lets see if you can do the same "+name) print("You may have noticed that if you fail you don't die...") q6 = raw_input("1: How does that work?") if q6 == "1": print("If you don't mind lets move on to your next test") q7 = raw_input("1: No, tell me now! 2:Okay i'm ready") if q7 == "1": print("I said lets move on to your next test "+name) if q7 == "2": print("Thank you") print("583 had few problems with the next test lets hope you're the same") print("Before you woke up you had some injections...") q8 = raw_input("1: What kind of injections?") if q8 == "1": print("If you would please let me finish "+name) print("Now these injections may have changed your memory...") print("So please tell me every other letter of the alphabet until you reach 'H' seperate them with commas please ") q9 =raw_input(": ") if q9 == "a,c,e,g,i,h": print("It seems that you are far more exceptional") else:"Please retry" q9 =raw_input(": ") if q9 == "a,c,e,g,i,h": print("Lets move on...") q10 = raw_input("1: Tell my why I didn't die when I failed. :") if q10 == "1": print("Well okay then the fact is...you are dead "+name) q11 = raw_input("1: WHAT? :") print("Well not dead 100% your body is dead body your mind isn't") q12 = raw_input("1: Well then how am I completing these tests?") if q12 == "1": print("They are computer generated they don't exist in the real world") print("Also, after you have completed these tests you will be sent back home and you will forget this all ever happened") print("Now you should see a door to your right...This is your next test") q13 = raw_input("1: Open door") print("What you see is New York City") q14 = raw_input("1: How? 2: What now?") if q14 == "1": print("Like I said, all computer generated") if q14 == "2": print("You must get to the top of the tower in front of you") print("Choose another question...") q14 = raw_input("1: How? 2: What now?") if q14 == "1": print("Like I said, all computer generated") if q14 == "2": print("You must get to the top of the tower in front of you") |
|
|
| Report Abuse |
|
|
watcha2
|
  |
| Joined: 11 Jul 2010 |
| Total Posts: 3888 |
|
|
| 31 Dec 2011 01:18 PM |
| That is all of the game that I will be releasing i'm going to work on another game fell free to use that one. |
|
|
| Report Abuse |
|
|
|
| 31 Dec 2011 01:24 PM |
You could always just make an engine and a parser then release an example catalog file for choices. :/
~+[CROOKITY BANDED SNAKES]+~ |
|
|
| Report Abuse |
|
|
R4P18
|
  |
| Joined: 16 Nov 2008 |
| Total Posts: 4025 |
|
|
| 31 Dec 2011 02:47 PM |
Nice idea. I once made a text based adventure game - in fact I recently started a new one. It is in C, the original is 2500 lines, yet this one is only 1000. It has sword fighting, gun fighting, shops, puzzles, lots of things. Another thing, I do not know Python so I do not know how, but when you have 'ask another question', you could have a for look? And switch/case statements for the answers. In C you could have something like:
for (i==1;i<=2;i++) { printf("\nYou may ask a question or two: "); printf("\n1: Who are you?"); printf("\n2: Where am I?"); scanf("%s",input); intinput = atoi(input); //You could read %d in, but I have got used to this way switch (intinput) { case 1: printf("\nThat is of no concern to you.");break; case 2: printf("\nIn a secret base");break; default: printf("\nThat is not a correct answer. I will give you another chance."); i = i-1; break; } }
(I think, this is from my head) |
|
|
| Report Abuse |
|
|