diff --git a/game.py b/game.py index ffe077e..e108fd8 100644 --- a/game.py +++ b/game.py @@ -90,4 +90,50 @@ print(player_money) print() time.sleep(1) -# ---section end--- # \ No newline at end of file +# ---section end--- # + +# ---Section Author: --- # +print("There is a warrior who stands in your way!") +print("1. Fight him!") +print("2. Try negotiating with him") +print() +decision = "" +while(decision == ""): + decision = input("Pick a number: ") + print() + if (decision == "1"): + print("You got injured but you steal his money!!!") + player_health = 20 + print("Your health now:") + print(player_health) + elif (decision == "2"): + print("You are able to get him to work with you on your mission") + player_items.append("Warrior") + print("Your items now:") + print(player_items) +print() +time.sleep(1) + +# ---section end--- # + +print("There is a box where you can get health") +print("1. Pick it up") +print("2. Ignore it") +print() +decision = "" +while(decision == ""): + decision = input("Pick a number: ") + print() + if (decision == "1"): + print("You got a health boost") + player_health = 100 + print("Your health now:") + print(player_health) + elif (decision == "2"): + print("You can pick up the weapon on the floor") + player_items.append("A Bubble Gun") + print("Your items now:") + print(player_items) +print() +time.sleep(1) +# ---section end--- #