Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 18 additions & 1 deletion game.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,21 @@
player_items.append("Potion")
print("Your items now: ")
print(player_items)
# ---section end--- #
# ---section end--- #

# Section author: Balsa #
print("The Kanbalese police stop you and try to collect taxes from you! What do you do!")
print("1. Fight the police")
print("2. Just pay your taxes")
decision = ""
while(decision == "" or decision > "2" or decision == 0 ):
decision = input("Pick a number")
if (decision == "1"):
print("You got arrested! Game over!")
exit()
elif (decision == "2"):
print("You lost all your money!")
player_money = player_money * 0.8
print("The money you have left is:")
print(str(player_money))
# End section #