#------------------------------- # Tom Sawyer Project # By Drew Smersfelt #------------------------------- print("Hi, this game is ment to increase your understanting of the characters Tom and Becky in the book, The Adventures of Tom Sawyer. The game begins on page 281 at chapter 32, when Tom and Becky relize that they are lost in the cave.") Q1 = raw_input("Now choose your character, Tom or Becky.") #If the player chooses Tom #beckys spirits: BS = 20 if Q1==("Tom"): print(" Good choice. Tom's goals are to find a way out of the cave, and to keep Becky's Spirts above 0") T1 = input(" You and Becky are lost in the cave do you, 1: Go back to the cavern with the bats, or 2: wander on further?") #Back to the batcave if T1 == ("1"): print(" You take Becky by the hand and lead her to the cavern, now its up to chance.")
Run
Reset
Share
Import
Link
Embed
Language▼
English
中文
Python Fiddle
Python Cloud IDE
Follow @python_fiddle
Browser Version Not Supported
Due to Python Fiddle's reliance on advanced JavaScript techniques, older browsers might have problems running it correctly. Please download the latest version of your favourite browser.
Chrome 10+
Firefox 4+
Safari 5+
IE 10+
Let me try anyway!
url:
Go
Python Snippet
Stackoverflow Question