Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Lost Fortune
- # A personalised adventure Game
- print \
- """
- Welcome to Lost Fortune.
- Please enter the following details for your adventure:
- """
- explorers = int(raw_input("Enter the number of explorers: "))
- dead = int(raw_input("Enter the number of explorers lost in battle: "))
- leader = raw_input("Enter the name of the quest leader: ")
- alive = explorers - dead
- gold = 750 % alive
- print "\nThe brave", leader, "led ", explorers, "explorers on a quest for gold."
- print "The group fought a band of ogres and lost", dead, "members!"
- print "Only", alive, "survived the battle."
- print "\nThe party was about to give up when the stumbled upon the"
- print "buried fortune of 750 gold pieces. They split the loot and",
- print leader, "\nkept the extra", gold, "pieces of gold."
- raw_input ("\n\nPress the enter key to exit.")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement