From a9e04af5f5cbc7bb5f2643b5c5a18ff6935399d6 Mon Sep 17 00:00:00 2001 From: root Date: Sat, 3 Oct 2020 21:47:29 -0400 Subject: [PATCH] my feature or my scenario --- game.py | 45 ++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 44 insertions(+), 1 deletion(-) 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) + + + + + + + + + + + + + + + + + + + + + +