diff --git a/README.md b/README.md index ecacd4e..8c1e7d4 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,7 @@ -# python-adventure +# Balsa of Kanbal's Python Adventure -A fun little game where you get to choose your own adventure! +Scenario: You have developed your skills as a developer, learning variable types, loops, and conditionals. Now it's about time for you to put those skills to the test. + +You have been tasked by a group of elite developers to create a command line terminal role-playing game. You are asked to create scenarios for the player and submit a pull request on Github. + +Good luck! \ No newline at end of file diff --git a/game.py b/game.py index 891e7ff..ffb5598 100644 --- a/game.py +++ b/game.py @@ -52,4 +52,25 @@ player_items.append("Potion") print("Your items now: ") print(player_items) -# ---section end--- # \ No newline at end of file +# ---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 == ""): + 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)) + else: + print("Please enter 1 or 2") + +# End section # \ No newline at end of file