From 5922b1f0564bdae70c0ccd25153edfee15c1f20c Mon Sep 17 00:00:00 2001 From: Morgan Diment <dimentm@cardiff.ac.uk> Date: Mon, 24 Oct 2022 14:58:43 +0100 Subject: [PATCH] adding level 2 --- Group_game/level_2.py | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 Group_game/level_2.py diff --git a/Group_game/level_2.py b/Group_game/level_2.py new file mode 100644 index 0000000..c97782d --- /dev/null +++ b/Group_game/level_2.py @@ -0,0 +1,35 @@ +from itertools import count +from operator import truediv +from items import * +from player import * +from map import * +from game import time_taken + +def drink_wine(): + counter = 0 + more = True + while True: + if counter < 2: + print('You drink a glass of the wine, but still cannot see the clue.') + print('Would you like to drink another glass?') + more = str(input()) + if more == 'yes': + counter += 1 + False + else: + print('You pass out from too much alchohol consumption.') + print('You wake up 5 minutes later on the floor.') + time_taken = time_taken - 360 + False + +def close_valve(): + pass + +def open_trapdoor(): + pass + +def hangman(): + pass + +def open_closet(): + pass -- GitLab