@FuyuWinter/

# Nathan Escape Room

## No description

Files
• main.py
main.py
```1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
```
```import time

print("                Crack The Code")
print("              By Nathan Hargreaves")
raw_input("")
print("\r\n" * 50)

print("                Angletraz")
print("You have been relocated to Angletraz Prison, and you are planning your escape. Coming in, you notice all the door locks have different, mathematical puzzles on them. The only way you are going to get out is if you can crack the codes and crack them quickly. Are you ready to begin? Then let’s go!")
raw_input("")
print("\r\n" * 50)

print("                Night Time Escape")
print("It’s night, and all the other inmates are asleep. The perfect time to risk an escape. And even better, the guard forgot to lock your cell door! You silently open your door, and thankfully there are no guards watching you. You don’t attempt to close the door, fearing that it might make a noise, and you run to the end of the hallway.")
print("Suddenly, a guard comes out of the door on your right! He must know that this is the only way out, as he immediately shuts the door and locks it from the other side. However, if you can crack the door’s secret code, you should be able to escape without him alerting the rest of the prison that you’ve escaped.")
raw_input("")
print("\r\n" * 50)

print("                The Code")
print("The door has ten buttons, each of them with a different number on them, ranging from 0 to 9. There is a warning sign though: Press one wrong button and it sends off an alarm. There is also a timer next to the sign, and it’s counting down! You have approximately 20 seconds to figure out the code, but you then hear the guard’s voice from the other side of the door. He says;")
print("You can try all you like, but nothing will open the door!")
print("You notice he dropped a piece of paper on the floor! It reads “5,3,7,6,6,0,6” Maybe that’s a clue to open the door? Whatever it is, you need to open it quickly! Puzzle No. 1 starts…now!")
raw_input("")
print("\r\n" * 50)

print("Press enter for the timer to start")
raw_input("")
print("\r\n" * 50)

timer = 20
timeout = time.time() + 1 * timer
print("0  1  2  3  4")
print("5  6  7  8  9")
if time.time() > timeout:
print("\r\n" * 50)
print("                Congratulations!")
print("You solved the puzzle! The trick was, when the guard said nothing will open the door, he was telling the truth. You didn’t have to press any buttons, just wait for the timer to finish counting down and unlock the door. Now go! You wouldn’t want any more guards on your tail!")
raw_input("")
print("\r\n" * 50)

print("                33333")
print("The next door has a different lock, this time there are 10 different tiles that need to be placed in the correct positon to solve the equations. 0 is already in place for you, so you need to organise the remaining tiles to correct the problem.")
raw_input("")
print("\r\n" * 50)

f = raw_input("First Number: ")
s = raw_input("Second Number: ")
fLen = len(f)
sLen = len(s)
if s[0] == "0":
if fLen and sLen < 6:
s[0:]
fF = int(f)
sS = int(s)
result = fF - sS
if result == 33333:
print("\r\n" * 50)
print("                Eight Queens")
print("For this door, you need to place the chess pieces (in this case, queens) into the correct holes to unlock the door. Three are already in place for you, so all you need to do is figure out which holes the remaining queens should go into. Each queen cannot be in the same line, column or diagonal as another.")
raw_input("")
print("\r\n" * 50)
print("The X marks were the queens are.")
print("   A  B  C  D  E  F  G  H")
print("1 [ ][ ][ ][ ][ ][ ][ ][ ]")
print("2 [ ][ ][ ][ ][ ][X][ ][ ]")
print("3 [ ][ ][ ][ ][ ][ ][ ][ ]")
print("4 [ ][ ][ ][ ][ ][ ][X][ ]")
print("5 [ ][ ][ ][X][ ][ ][ ][ ]")
print("6 [ ][ ][ ][ ][ ][ ][ ][ ]")
print("7 [ ][ ][ ][ ][ ][ ][ ][ ]")
print("8 [ ][ ][ ][ ][ ][ ][ ][ ]")
location = raw_input("Location(E.x A1 B2 C3 D4 E5): ")
if "B1" and "A3" and "C7" and "E8" and "H6" in location:
print("\r\n" * 50)
print("   A  B  C  D  E  F  G  H")
print("1 [ ][X][ ][ ][ ][ ][ ][ ]")
print("2 [ ][ ][ ][ ][ ][X][ ][ ]")
print("3 [X][ ][ ][ ][ ][ ][ ][ ]")
print("4 [ ][ ][ ][ ][ ][ ][X][ ]")
print("5 [ ][ ][ ][X][ ][ ][ ][ ]")
print("6 [ ][ ][ ][ ][ ][ ][ ][X]")
print("7 [ ][ ][X][ ][ ][ ][ ][ ]")
print("8 [ ][ ][ ][ ][X][ ][ ][ ]")
raw_input("")
print("\r\n" * 50)

print("                You Fail!!!!!!!!!!!!!!")
print("Unfortunately, you pressed the wrong button. The alarm went off and you were caught immediately. Better luck next time!")```
Fetching token