Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
1 changed file
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# Based on https://github.com/Matthew-England/121COMWeek2Ex7 | ||
|
||
print("---------- 121COM Week 2 Lab Exercise 7 ----------") | ||
print("---------------- <InsertTitleHere> ---------------") | ||
print("--------------- <InsertAuthorsHere> --------------") | ||
print("\n") | ||
|
||
print("You awake in a dark room. Do you:") | ||
print(" a) Scream for help.") | ||
print(" b) Press the light switch") | ||
choice = input("Enter a or b: ") | ||
if choice == "a": | ||
print("Someone hears your screams...") | ||
# Contine adventure Here | ||
elif choice == "b": | ||
print("The light comes on.") | ||
print("You do not recognise the room but you have a really bad feeling...") | ||
# Contine adventure Here | ||
else: | ||
print("That was not an option. Game Over") | ||
|