-
Notifications
You must be signed in to change notification settings - Fork 0
/
csgo_callout_quiz.py
194 lines (194 loc) · 9.71 KB
/
csgo_callout_quiz.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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
# First ever created and started on 03/04/2021
# Version 0.7: Ranks and more answers.
# Quiz based on the 2013 videogame Counter-Strike: Global Offensive made by Valve
# The videogame is a first-person shooter which has different maps, all of which has strategical spots players can be positioned in.
# Callouts are used to define these spots and to *call out* an enemy's position so that the team can attack and defeat that player.
# In the quiz, a spot will be described, and the user must enter the name of the callout in lowercase.
# Callouts from https://totalcsgo.com/callouts/
# Ranks from https://totalcsgo.com/ranks/
import time
score = 0
show_tip_end = False
answer1 = ['shadows', 'shadow', 'dark', 'Shadows', 'SHADOWS', 'Shadow', 'SHADOW', 'Dark', 'DARK']
answer2 = ['ticket', 'ticket booth', 'Ticket', 'TICKET', 'Ticket booth', 'Ticket Booth', 'TICKET BOOTH']
answer3 = ['truck', 'van', 'car', 'Truck', 'TRUCK', 'Van', 'VAN', 'Car', 'CAR']
answer4 = ['tv', 'TV', 'Tv']
answer5 = ['jungle', 'Jungle', 'JUNGLE']
answer6 = ['sneaky', 'Sneaky', 'SNEAKY']
yes = ['yes', 'Yes', 'YES', 'ye', 'Ye', 'YE', 'Y', 'y', 'sure', 'Sure', 'SURE', 'Yep', 'yep', 'YEP']
no = ['no', 'No', 'NO', 'nop', 'Nop', 'NOP', 'nope', 'Nope', 'NOPE', 'nah', 'Nah', 'NAH', 'N', 'n']
answer7 = ['tetris', 'Tetris', 'TETRIS']
answer8 = ['triple box', 'triple_box', 'Triple box', 'Triple_box', 'TRIPLE_BOX', 'TRIPLE BOX', 'triple', 'Triple', 'TRIPLE', 'triple stack', 'triple_stack', 'Triple stack', 'Triple Stack', 'Triple_stack', 'Triple_Stack', 'TRIPLE STACK', 'TRIPLE_STACK']
answer9 = []
answer10 = []
answer11 = []
answer12 = []
answer13 = []
answer14 = []
answer15 = []
print("Welcome to the Callouts Quiz!")
time.sleep(1)
print("All answers must be entered in lowercase.")
time.sleep(2)
print("We are playing on Mirage.")
time.sleep(3)
print("After entering the A bombsite from ramp, to the left we have the other entrance which is in a higher ground, there is a ladder leading down, what is the name of the callout for the place that is under the ladder?")
if input() in answer1:
print("That's correct!")
score += 1
else:
print("Incorrect!")
score -= 1
time.sleep(1)
print("Next callout.")
time.sleep(2)
print("From the spawn of the Counter-Terrorist side, going to the right is a place where you can hide, take cover or peek to the A bombsite, what is the callout for this place?")
if input() in answer2:
print("Correct! Good job.")
score += 1
else:
print("No! No!")
score -= 1
time.sleep(1)
if score <= 0:
print("You're doing poorly.. The next callout is...")
if score == 2:
print("You are doing pretty good!")
if score >= 0:
print("You're doing alright.")
time.sleep(2)
print("In the B bombsite, in the top right corner when coming from the back, there is a vehicle right in front of apartments, Counter-Terrorist and Terrorist often hide there from the opposite team or CTs use It to go to apartments. How is that area called?")
if input() in answer3:
print("Correct! Good job!")
score += 1
else:
print("Wrong...")
score -= 1
time.sleep(2)
print("From the Terrorist spawn, If you go to B from the right instead of going through middle, you enter a building that connects Terrorist spawn and Side Alley, there is a spot to hide there in case you know an enemy is gonna come. How is that callout called?")
if input() in answer4:
print("Wow! Nice knowledge. You are good at this!")
score += 2
else:
print("That is wrong.")
score -= 1
time.sleep(2)
print("Let's get on with the quiz.")
time.sleep(1)
print("This is an easy one.")
time.sleep(2)
print("Coming from Sniper's Nest/Window to the A bombsite, how is that callout called?")
if input() in answer5:
print("Good!")
score += 1
else:
print("Come on, that was an easy one!")
score -= 1
time.sleep(2)
print("This is a harder one. When coming from CT Spawn to B, in Market/Shop, what is the position which is on top of the fridge agaisnt the wall?")
if input() in answer6:
print("Great job! That is some nice knowledge in callouts.")
score += 1
else:
print("Wrong. That is okay though! People don't use this callout that much.")
score -= 1
time.sleep(1)
print("If you wanna do better now, I'll be kind and give you a tip about the next callouts, BUT, you will lose a score point. Do you want it?")
if input() in yes:
print("Alright! The tip is that the next callouts are on A or entering A. I will notify you when the callouts are not related to A.")
score -= 1
show_tip_end = True
if input() in no:
print("Sure! Let's get on with the quiz then.")
time.sleep (3)
print("This is an easy and common one.")
time.sleep(2)
print("In front of A Ramp, there is a stack of boxes and square stone clusters which people can hide behind.")
time.sleep(1)
print("What's the callout called like?")
if input() in answer7:
print("Correct.")
score += 1
else:
print("Incorrect! Bad, bad...")
score -= 1
time.sleep(2)
print("This time, I will make It hard! I will not tell you where the callout is, rather how It looks.")
time.sleep(1)
print("Get ready.")
time.sleep(3)
print("A triple set of boxes players can hide behind and peek to enemies coming.")
if input() in answer8:
print("I see you know the common callouts for people to be in well, that's good.")
score += 1
else:
print("Wrong. This is a common place for people to be in, It's in A. Come on. Let's continue.")
score -= 1
time.sleep(2)
print("This is the hardest question! If you get this one right you will obtain triple the points!")
time.sleep(3)
print("An small alcove between two stacks of boxes, that is often left unchecked by Terorrists.")
if input() in answer9:
time.sleep(1)
print("Holy moly! You got It right...? I can't believe It! Wonderful, wonderful. You must have a good knowledge of the callouts. You have obtained triple the points. Let's continue.")
score += 3
else:
print("Oh, that's okay, don't worry about It. It was very hard to get It right unless you knew the bombsite.")
score -= 1
# End of the quiz, there WILL be more questions and answers above though, this is just for the future.
time.sleep(1)
print("Good job on doing the quiz! Here is your final score...")
time.sleep(3)
print(score)
# Printing the rank
time.sleep(2)
print("And your rank is...")
time.sleep(4)
if score <= 0:
print("Yikes, you didn't do very well... You don't have a rank yet. Try again and practice more!")
elif score == 1:
print("You are Silver I! That's a start but you gotta get better! Try again.")
elif score == 2:
print("You are Silver II! Getting better.")
elif score == 3:
print("You are a Silver III! You are decent with your callouts. Even though, yo should try again to get more experience.")
elif score == 4:
print("You are Silver IV! You are fine, though you should get more knowledge on callouts. Try again.")
elif score == 5:
print("You are a Silver Elite! You are getting better with your callouts, though you need more level. Try again")
elif score == 6:
print("Congratulations! You are Silver Elite Master! You are the best of the worst players. Try again to to improve your score.")
elif score == 7:
print("Welcome to Gold Nova I. You did alright, try again to try to improve your score.")
elif score == 8:
print("Your rank is Gold Nova II! Fun fact: This is the average rank in the game. Good job.")
elif score == 9:
print("You are Gold Nova III! You are getting good, but you have to try to be the best! Try again.")
elif score == 10:
print("Your rank is Gold Nova Master! You are the greatest of the most average. Congratulations. Try again for a better score and be better than most players!")
elif score == 11:
print("You are getting closer to the elite, for now, you are Master Guardian I. You are better than the average, so try again to be even better!")
elif score == 12:
print("Master Guardian II! You are a good player, but you must try again to be even better. Congrats.")
# Every rank from this point onwards will be bolded, trying to figure that out.
elif score == 13:
print("You are Master Guardian Elite!! You are the best of the better players. The next step is entering the elite ranks. From now, congrats on that callout knowledge.")
elif score == 14:
print("Welcome to the Elite! You are a Distinguished Master Guardian. Good knowledge of the callouts will help YOU and your team assure a win. Try again for an even better rank.")
elif score == 15:
print("You are Legendary Eagle! That is an amazing rank and you should be proud, though, you should try again to get on the level of the pros!")
elif score == 16:
print("You are very close to becoming the best of the best. Your rank is Legendary Eagle Master! Amazing job. You know your callouts pretty well and know the common ones perfectly.")
elif score == 17:
print("Holy moly! Your rank is Supreme Master First Class! You always give good information to your teammates about where the enemies are and know the spots pretty well. Your callout knowledge is almost perfect! Try again If you have the knowledge to be part of... The Global Elite.")
elif score == 18:
print("You...")
time.sleep(2)
print("...are...")
time.sleep(2)
print("the greatest!!!")
time.sleep(2)
print("You are part of the Global Elite. All of your callouts are accurate and precise. You give excellent information to your teammates and won't hesitate about It. You have the ultimate and perfect knowledge about callouts.")
time.sleep(3)
print("Congratulations my friend, you have completed the Mirage part of the quiz as you know all the answers. What is your name?")
print(input() + ", you are the greatest. Congratulations.")