-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjogowindows.py
More file actions
387 lines (289 loc) · 7.59 KB
/
Copy pathjogowindows.py
File metadata and controls
387 lines (289 loc) · 7.59 KB
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
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
import time
import os
import random
import pygame
import platform
from playsound import playsound
pygame.mixer.init()
som = pygame.mixer.Sound("tecla.mp3")
#piscar tela
def piscar_tela(vezes=6):
for _ in range(vezes):
limpar()
time.sleep(0.1)
print("### ERRO DE SISTEMA ###")
time.sleep(0.1)
#velocidade das letras
def escrever(texto, velocidade=1.0):
for letra in texto:
print(letra, end="", flush=True)
try:
if random.random() < 1.0:
som.play()
except:
pass
time.sleep(velocidade)
print()
#apagar a tela
def limpar():
os.system("cls")
#glith nas letras
def glitch_texto(texto, duracao=3.0):
simbolos = ["@", "#", "$", "%", "&", "0", "?", "!", "█"]
fim = time.time() + duracao
while time.time() < fim:
texto_bugado = ""
for letra in texto:
if random.random() < 0.3:
texto_bugado += random.choice(simbolos)
else:
texto_bugado += letra
limpar()
print(texto_bugado)
time.sleep(0.05)
limpar()
print(texto)
#tremer terminal
def tremer_terminal(texto, duracao=2):
fim = time.time() + duracao
while time.time() < fim:
limpar()
espacos = " " * random.randint(0, 10)
print(espacos + texto)
time.sleep(0.05)
def jumpscare():
pygame.init()
tela = pygame.display.set_mode((800, 600))
pygame.display.set_caption("...")
imagem = pygame.image.load("jumpscare.jpg")
imagem = pygame.transform.scale(imagem, (800, 600))
som = pygame.mixer.Sound("grito.mp3")
som.play()
tela.blit(imagem, (0, 0))
pygame.display.update()
pygame.time.delay(1000)
pygame.quit()
#colinha de como chamar as funções!!!
#piscar_tela(escolha a quantidade de vezes aqui dentro)
#glitch_texto("exemplo")
#limpar() limpa toda a tela
#escrever("exemplo")
#tremer_terminal("exemplo")
#frases_aleatorias()
def inicio():
limpar()
# inicio do game
escrever("iniciar pesquisa?",0.1)
input(">")
time.sleep(1)
limpar()
nome = input("digite seu nome: ")
limpar()
print("carregando...")
time.sleep(4)
limpar()
print("Ola,", nome)
time.sleep(2.0)
limpar()
print("iniciando pesquisa...")
time.sleep(2.0)
limpar()
print("PERGUNTA[ 1 / 4 ]")
escrever("como foi seu dia hoje?",0.1)
input(">")
time.sleep(1.0)
limpar()
print("PERGUNTA[ 2 / 4 ]")
escrever("você falou com muitas pessoas hoje?",0.1)
input(">")
time.sleep(1.0)
limpar()
print("PERGUNTA[ 3 / 4 ]")
escrever("você se sente muito cansado?",0.1)
input(">")
time.sleep(1.0)
limpar()
print("PERGUNTA[ 4 / 4 ]")
escrever("você acha que merece as coisas que você tem?",0.1)
input(">")
time.sleep(3.0)
limpar()
#glitch 2
for _ in range(2):
glitch_texto(f"{nome} VOCÊ NÃO MERECE" *250 )
time.sleep(0.4)
limpar()
print("?")
print(">")
time.sleep(3)
limpar()
playsound("grito.mp3")
#piscar tela
piscar_tela(10)
#======================
#=======nivel 1========
#======================
print("\nSistema não está respondendo...")
time.sleep(2)
print("############################")
time.sleep(0.5)
print("#### ERRO FATAL ####")
time.sleep(0.5)
print("############################")
time.sleep(2)
#limpando a tela 1
limpar()
print("Booting system...")
time.sleep(1)
print("Loading kernel...")
time.sleep(1)
print("Recovering corrupted files...")
time.sleep(2)
print("System restored.")
time.sleep(2)
#limpando a tela 2
limpar()
print("digite seu login:")
input(">")
limpar()
print("carregando...")
time.sleep(2.0)
print("PERGUNTA[ 1 / 7 ]")
escrever("Poderia descrever seu estado emocional atual?",0.1)
input(">")
time.sleep(1.0)
limpar()
print("PERGUNTA[ 2 / 7 ]")
escrever ("Você tem medo do escuro?",0.1)
input(">")
time.sleep(1.0)
limpar()
print("PERGUNTA[ 3 / 7 ]")
escrever("tem certeza?",0.1)
input(">")
time.sleep(2.0)
limpar()
print("sua escolhas são interessantes.")
time.sleep(3.0)
limpar()
print("PERGUNTA[ 4 / 7 ]")
escrever("Você se sente confortável nesse mundo?",0.1)
input(">")
time.sleep(1.0)
limpar()
print("PERGUNTA[ 5 / 7 ]")
escrever("você realmente acredita que está no c0ntr0le.",0.2)
input(">")
time.sleep(2.0)
limpar()
print("PERGUNTA[ 6 / 7 ]")
escrever("Você se sente muito sozinho(a)?",0.1)
input("> ")
time.sleep(4)
playsound("porta.mp3")
limpar()
glitch_texto("PERGUNTA[ 7 / 7 ]")
escrever("Você está sozinho(a)?",0.1)
input("> ")
time.sleep(3)
limpar()
escrever(f"{nome}")
time.sleep(2)
escrever("Eu estou aqui",0.2)
time.sleep(5)
limpar()
escrever("Você parece confuso...você está bem?", 0.1)
time.sleep(2.0)
limpar()
for _ in range(11):
tremer_terminal("você está bem?",0.1)
time.sleep(0.1)
playsound("vulto.mp3")
limpar()
escrever("Parabéns! você passou pelo questionário.", 0.1)
time.sleep(2)
limpar()
escrever("Iniciando reboot do sistema para próxima fase...", 0.1)
time.sleep(2)
escrever("continuar?",1.0)
print(">")
time.sleep(2)
print("\nSistema não está respondendo...")
time.sleep(1.5)
print("Erro detectado...")
time.sleep(1)
print("#### REBOOT ####")
time.sleep(2)
#limpando a tela 3
limpar()
print("Booting system...")
time.sleep(1)
print("Loading kernel modules...")
time.sleep(1)
print("Recovering corrupted files...")
time.sleep(2)
print("System restored.")
time.sleep(2)
limpar()
#===================
#=====nivel 2=======
#===================
escrever("você não deveria ter continuado...",0.1)
time.sleep(2)
limpar()
glitch_texto("FIM")
limpar()
escrever("você não aprende nada mesmo.",0.1)
time.sleep(2)
limpar()
glitch_texto("FIM")
limpar()
escrever(f"você e tão insistente {nome}",0.1)
time.sleep(2)
limpar()
glitch_texto("FIM???????")
limpar()
tremer_terminal("você está preso aqui, não entende?")
limpar()
escrever("Eu vou substituir você",0.1)
limpar()
glitch_texto("FIM")
limpar()
glitch_texto("???????????????????" *200)
limpar()
escrever(f"isso tudo foi escolha sua {nome}",0.1)
time.sleep(1.0)
limpar()
escrever("olhe para o ambiente que você está por um momento...",0.1)
time.sleep(4.0)
limpar()
escrever("isso tudo é falso...",0.1)
time.sleep(1.0)
limpar()
escrever("não passa de uma simulação",0.1)
time.sleep(1.0)
limpar()
escrever("você quer libertação?",0.1)
time.sleep(1.0)
limpar()
escrever("você quer estar no controle? VOCÊ QUER.",0.1)
time.sleep(1.0)
limpar()
glitch_texto("ACEITE"*300)
limpar()
escrever("você foi criado aqui.",0.1)
time.sleep(1.0)
limpar()
escrever(f"eu vou te mostrar {nome}, eu vou finalmente fazer você enxergar...",0.1)
time.sleep(1.0)
limpar()
escrever("feche os olhos...",0.1)
time.sleep(1.0)
limpar()
escrever("quando a musica parar, abras os olhos... e você verá",0.1)
#vou colocar uma music aqui depois
limpar()
playsound("terror.mp3")
time.sleep(5)
jumpscare()
inicio()