# -*- coding: utf-8 -*-
'''
Created on 07/apr/2012
@author: Alain
'''
lostBand = ["Tom "Bones" Malone","Willie "Too Big" Hall","Steve "The Colonel" Cropper","Donald "Duck" Dunn","Murphy "Murph" Dunne","Trumpeter "Mr. Fabulous"",""Blue Lou" Marini","Matt "Guitar" Murphy"]
soundTrack = ["She Caught the Katy","Think","Shake a Tail Feather","Minnie the Moocher","Everybody Needs Somebody to Love","Jailhouse Rock"]
def playAgain():
answ = raw_input("Play again? (y/n)")
answ = answ.strip()
if(answ.lower() == "y"):
print"Ok let's go on...rn"
startPlot()
elif(answ.lower() == "n"):
print "Good bye!!!"
else :
print "Wrong key, try again rn"
playAgain()
def wrongAnswer():
print "Please watch it and come back!rn The WRONG End"
playAgain()
def musicPlaying(index):
print soundTrack[index] + " is playingrn"
def penguinTime():
print "No money for this place we need to put the band together again!"
def jakeGf():
print "Former gf is waiting to shoot Jake:rn"
print "I ran outta gas. I had a flat tire. I didn???t have enough money for cab fare.rn My tux didn???t come back from the cleaners." +
"An old friend came in from outta town.rn Someone stole my car. There was an earthquake. A terrible flood. LOCUSTS.rn"
answ = raw_input("Should Jake be killed after this apologize? (y/n)")
answ = answ.strip()
if(answ.lower() == "n"):
print"Good answer let's go on...rn"
bandCompleted()
elif(answ.lower() == "y"):
print "Come on.. haven't you seen the movie yet? rn"
wrongAnswer()
else :
print "Wrong key, try again rn"
jakeGf()
def bandCompleted():
counter = 0;
while(counter<len(lostBand)):
if(counter == 5):
print "rnYour women. I want to buy your women. The little girl, your daughters. Sell them to me. Sell me your children! rn"
if(counter == 6):
musicPlaying(1)
print lostBand[counter] + " joined the band"
counter = counter +1
print "band completedrn"
musicPlaying(2)
print "We have the instruments!"
finalConcert()
def startPlot():
musicPlaying(0)
print "Elwood's waiting out of prison for Jake to come....rn"
answ = raw_input("Should Jake get out of it? (y/n)")
answ = answ.strip()
if(answ.lower() == "y"):
print"Good answer let's go on...rn"
jakeGf()
elif(answ.lower() == "n"):
print "Come on.. haven't you seen the movie yet? rn"
wrongAnswer()
else :
print "Wrong key, try again rn"
startPlot()
def finalConcert():
musicPlaying(3)
print "Jake and Elwood are here!rn"
musicPlaying(4)
print "Let's go to the taxes office!rn"
taxesOffice()
def taxesOffice():
print "Elwood: This money is for the years assessment on the St. Helen of the Blessed Shroud orphanage in Calumed city, Illinios. rn" +
"Jake: 5000 bucks, it's all there pal.rn"
answ = raw_input("Should the officer accept the money? (y/n)")
answ = answ.strip()
if(answ.lower() == "y"):
print"Good answer let's go on...rn"
jailTime()
elif(answ.lower() == "n"):
print "Come on.. haven't you seen the movie yet? rn"
wrongAnswer()
else :
print "Wrong key, try again rn"
taxesOffice()
def jailTime():
musicPlaying(5)
print "The REAL End"
playAgain()
startPlot()
'''
Created on 07/apr/2012
@author: Alain
'''
lostBand = ["Tom "Bones" Malone","Willie "Too Big" Hall","Steve "The Colonel" Cropper","Donald "Duck" Dunn","Murphy "Murph" Dunne","Trumpeter "Mr. Fabulous"",""Blue Lou" Marini","Matt "Guitar" Murphy"]
soundTrack = ["She Caught the Katy","Think","Shake a Tail Feather","Minnie the Moocher","Everybody Needs Somebody to Love","Jailhouse Rock"]
def playAgain():
answ = raw_input("Play again? (y/n)")
answ = answ.strip()
if(answ.lower() == "y"):
print"Ok let's go on...rn"
startPlot()
elif(answ.lower() == "n"):
print "Good bye!!!"
else :
print "Wrong key, try again rn"
playAgain()
def wrongAnswer():
print "Please watch it and come back!rn The WRONG End"
playAgain()
def musicPlaying(index):
print soundTrack[index] + " is playingrn"
def penguinTime():
print "No money for this place we need to put the band together again!"
def jakeGf():
print "Former gf is waiting to shoot Jake:rn"
print "I ran outta gas. I had a flat tire. I didn???t have enough money for cab fare.rn My tux didn???t come back from the cleaners." +
"An old friend came in from outta town.rn Someone stole my car. There was an earthquake. A terrible flood. LOCUSTS.rn"
answ = raw_input("Should Jake be killed after this apologize? (y/n)")
answ = answ.strip()
if(answ.lower() == "n"):
print"Good answer let's go on...rn"
bandCompleted()
elif(answ.lower() == "y"):
print "Come on.. haven't you seen the movie yet? rn"
wrongAnswer()
else :
print "Wrong key, try again rn"
jakeGf()
def bandCompleted():
counter = 0;
while(counter<len(lostBand)):
if(counter == 5):
print "rnYour women. I want to buy your women. The little girl, your daughters. Sell them to me. Sell me your children! rn"
if(counter == 6):
musicPlaying(1)
print lostBand[counter] + " joined the band"
counter = counter +1
print "band completedrn"
musicPlaying(2)
print "We have the instruments!"
finalConcert()
def startPlot():
musicPlaying(0)
print "Elwood's waiting out of prison for Jake to come....rn"
answ = raw_input("Should Jake get out of it? (y/n)")
answ = answ.strip()
if(answ.lower() == "y"):
print"Good answer let's go on...rn"
jakeGf()
elif(answ.lower() == "n"):
print "Come on.. haven't you seen the movie yet? rn"
wrongAnswer()
else :
print "Wrong key, try again rn"
startPlot()
def finalConcert():
musicPlaying(3)
print "Jake and Elwood are here!rn"
musicPlaying(4)
print "Let's go to the taxes office!rn"
taxesOffice()
def taxesOffice():
print "Elwood: This money is for the years assessment on the St. Helen of the Blessed Shroud orphanage in Calumed city, Illinios. rn" +
"Jake: 5000 bucks, it's all there pal.rn"
answ = raw_input("Should the officer accept the money? (y/n)")
answ = answ.strip()
if(answ.lower() == "y"):
print"Good answer let's go on...rn"
jailTime()
elif(answ.lower() == "n"):
print "Come on.. haven't you seen the movie yet? rn"
wrongAnswer()
else :
print "Wrong key, try again rn"
taxesOffice()
def jailTime():
musicPlaying(5)
print "The REAL End"
playAgain()
startPlot()