diff --git a/game.py b/game.py index ffe077e..faf7d97 100644 --- a/game.py +++ b/game.py @@ -90,4 +90,47 @@ print(player_money) print() time.sleep(1) -# ---section end--- # \ No newline at end of file +# ---section end--- # + +# ---section Auther james--- # +print("there is a ambush!") +print("1. run away") +print("2. stay and fight!") +print() +decision = "" +while(decision == ""): + decision = input(" pick a number: ") + print() + if (decision == "1") + print(" you lose 50 percent of health for being a coward!!") + player_health = 50 + print("your health now:") + print(player_health) + elif (decision == "2"): + print(" you stayed and fight bravery player boost + player_health = 120 + print("your health now:") +print() +timesleep(1) + + + + + + + + + + + + + + + + + + + + + +