-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcopia_de_tecno.py
342 lines (338 loc) · 10.3 KB
/
copia_de_tecno.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
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
# -*- coding: utf-8 -*-
"""Copia de Tecno.ipynb
Automatically generated by Colab.
Original file is located at
https://colab.research.google.com/drive/1-YcFEiSMyRR7XnWAEYWcvZC1k3pfGlrr
"""
import random as r
import time as t
from IPython.display import clear_output
print("Iniciando MSDOS 6.0")
t.sleep(4)
clear_output()
print("Cargando [_____]")
t.sleep(2)
clear_output()
print("Cargando [-____]")
t.sleep(2)
clear_output()
print("Cargando [--___]")
t. sleep(2)
clear_output()
print ("Cargando [---__]")
t. sleep(2)
clear_output ()
print("Cargando [----_]")
t. sleep(2)
clear_output()
print("Cargando [-----]")
t.sleep(1)
clear_output()
print ("Listo")
t. sleep(3)
clear_output ()
t. sleep(0.1)
print("CARGANDO FIRST BOOT")
t.sleep(2)
clear_output()
nombre = input("¿como te llamas?")
if nombre == "deb":
cmd()
else:
etaso = input(f"hola {nombre} que tal estas?")
listamal = ["mejorate", "que mal", "recuperate"]
listabien = ["que bien", "perfecto"]
if etaso == "Mal":
print(r.choice(listamal))
t.sleep(10)
elif etaso == "Bien":
print(r.choice(listabien))
t.sleep(5)
else:
print("no se que responder")
t.sleep(5)
clear_output()
t.sleep(0.1)
if input("Quieres jugar?") == "Si":
print("Adivina el numero de entre 1 a 100")
def juego():
numint = r.randint(1,100)
def guess():
guessnum = input("")
guessing = int(guessnum)
if guessing == numint:
print("¡Ganaste!")
elif guessing >= numint:
print("Muy alto")
guess()
elif guessing <= numint:
print("Muy bajo")
guess()
else:
guess()
guess()
jdn = input("Quieres jugar de nuevo?")
if jdn == "Si":
juego()
else:
print("Espero que te haya gustado")
juego()
else:
print("Vale")
t.sleep(2)
clear_output()
print("Iniciando MSDOS 6.0")
t.sleep(4)
clear_output()
print("Cargando [_____]")
t.sleep(2)
clear_output()
print("Cargando [-____]")
t.sleep(2)
clear_output()
print("Cargando [--___]")
t.sleep(2)
clear_output()
print("Cargando [---__]")
t.sleep(2)
clear_output()
print("Cargando [----_]")
t.sleep(2)
clear_output()
print("Cargando [-----]")
t.sleep(1)
clear_output()
print("Listo")
t.sleep(3)
clear_output()
t.sleep(0.1)
dosstart = (f"C:/users/{nombre}/")
hide = ("off")
def cmd():
dos = input(dosstart)
if dos == "Dir":
if nombre == "dev":
print(" ")
print(" ")
print(" BOOM.EXE EXE !")
print(" DOCUMENTS DIR")
print(" DOWNLOADS DIR")
print(" PHOTO DIR")
print(" TELNET CMD")
print(" VIDEO DIR")
print(" ")
print(" ")
else:
print(" ")
print(" ")
print(" DOCUMENTS DIR")
print(" DOWNLOADS DIR")
print(" PHOTO DIR")
print(" VIDEO DIR")
print(" ")
print(" ")
cmd()
elif dos == "WIN":
clear_output()
print("Booting Windows")
t.sleep(2)
clear_output()
print("Loading Graphical User Interface")
t.sleep(2)
clear_output()
print("Graphical User Interface Error")
print("Going back to MSDOS")
t.sleep(1)
clear_output()
cmd()
elif dos == "Documents":
def docu():
dosdoc = input(f"C/users/{nombre}/documents:")
if dosdoc == "Cd":
cmd()
elif dosdoc == "Dir":
print(" ")
print("EMPTY")
print(" ")
docu()
else:
print("WRONG COMMAND OR FILE")
docu()
docu()
elif dos == "Downloads" :
def down():
dosdow = input(f"C/users/{nombre}/downloads:")
if dosdow =="Cd":
cmd()
elif dosdow == "Dir":
print(" ")
print("EBAY.EXE EXE")
print("NETFLIX.EXE EXE")
print(" ")
down()
elif dosdow == "Netflix.exe":
print("⬛️⬛️⬛️⬛️⬛️⬛️⬛️⬛️⬛️⬛️⬛️⬛️⬛️⬛️⬛️")
print("⬛️⬛️⬛️⬛️🟥⬛️⬛️⬛️⬛️⬛️🟥⬛️⬛️⬛️⬛️")
print("⬛️⬛️⬛️⬛️🟥🟥⬛️⬛️⬛️⬛️🟥⬛️⬛️⬛️⬛️")
print("⬛️⬛️⬛️⬛️🟥🟥⬛️⬛️⬛️⬛️🟥⬛️⬛️⬛️⬛️")
print("⬛️⬛️⬛️⬛️🟥⬛️🟥⬛️⬛️⬛️🟥⬛️⬛️⬛️⬛️")
print("⬛️⬛️⬛️⬛️🟥⬛️🟥⬛️⬛️⬛️🟥⬛️⬛️⬛️⬛️")
print("⬛️⬛️⬛️⬛️🟥⬛️⬛️🟥⬛️⬛️🟥⬛️⬛️⬛️⬛️")
print("⬛️⬛️⬛️⬛️🟥⬛️⬛️🟥⬛️⬛️🟥⬛️⬛️⬛️⬛️")
print("⬛️⬛️⬛️⬛️🟥⬛️⬛️⬛️🟥⬛️🟥⬛️⬛️⬛️⬛️")
print("⬛️⬛️⬛️⬛️🟥⬛️⬛️⬛️🟥⬛️🟥⬛️⬛️⬛️⬛️")
print("⬛️⬛️⬛️⬛️🟥⬛️⬛️⬛️⬛️🟥🟥⬛️⬛️⬛️⬛️")
print("⬛️⬛️⬛️⬛️🟥⬛️⬛️⬛️⬛️🟥🟥⬛️⬛️⬛️⬛️")
print("⬛️⬛️⬛️⬛️🟥⬛️⬛️⬛️⬛️⬛️🟥⬛️⬛️⬛️⬛️")
print("⬛️⬛️⬛️⬛️⬛️⬛️⬛️⬛️⬛️⬛️⬛️⬛️⬛️⬛️⬛️")
print(" ")
print("INICIANDO")
t.sleep(4)
clear_output()
print("ERROR AL CONECTARSE")
down()
elif dosdow == "Ebay.exe":
print("⬜️⬜️⬜️⬜️⬜️⬜️⬜️⬜️⬜️⬜️⬜️⬜️⬜️⬜️⬜️⬜️⬜️")
print("⬜️⬜️⬜️⬜️⬜️🟦⬜️⬜️⬜️⬜️⬜️⬜️⬜️⬜️⬜️⬜️⬜️")
print("⬜️⬜️⬜️⬜️⬜️🟦⬜️⬜️⬜️⬜️⬜️⬜️⬜️⬜️⬜️⬜️⬜️")
print("⬜️🟥🟥🟥⬜️🟦⬜️⬜️⬜️🟨🟨🟨⬜️⬜️⬜️⬜️⬜️")
print("⬜️🟥⬜️🟥⬜️🟦🟦🟦⬜️⬜️⬜️🟨⬜️🟩⬜️🟩⬜️")
print("⬜️🟥🟥🟥⬜️🟦⬜️🟦⬜️🟨🟨🟨⬜️🟩⬜️🟩⬜️")
print("⬜️🟥⬜️⬜️⬜️🟦⬜️🟦⬜️🟨⬜️🟨⬜️🟩🟩🟩⬜️")
print("⬜️🟥🟥🟥⬜️🟦🟦🟦⬜️🟨🟨🟨⬜️⬜️🟩⬜️⬜️")
print("⬜️⬜️⬜️⬜️⬜️⬜️⬜️⬜️⬜️⬜️⬜️⬜️⬜️⬜️🟩⬜️⬜️")
print("⬜️⬜️⬜️⬜️⬜️⬜️⬜️⬜️⬜️⬜️⬜️⬜️⬜️⬜️⬜️⬜️⬜️")
print("")
print("INICIANDO")
t.sleep(4)
clear_output()
print(" INICIO ")
print(" ")
print("Comprar ahora: Ch ")
print("Subasta: Su ")
ebay = input("Elige")
clear_output()
if ebay == "Ch":
print(" COMPRAR AHORA ")
print(" ")
print(" NO HAY PRODUCTOS ")
down()
elif ebay == "Su":
print(" SUBASTA ")
print(" ")
print(" NO HAY PRODUCTOS ")
down()
else:
down()
down()
else:
print("WRONG COMMAND OR FILE")
down()
down()
elif dos == "Photo" :
def phot():
dospho = input(f"C/users/{nombre}/photos:")
if dospho =="Cd":
cmd()
elif dospho == "Dir":
print(" ")
print("EMPTY")
print(" ")
phot()
else:
print("WRONG COMMAND OR FILE")
phot()
phot()
elif dos == "Video" :
def vide():
dosvid = input(f"C/users/{nombre}/video:")
if dosvid =="Cd":
cmd()
elif dosvid == "Dir":
print(" ")
print("EMPTY")
print(" ")
vide()
else:
print("WRONG COMMAND OR FILE")
vide()
vide()
elif dos == "Clr":
clear_output()
t.sleep(0.1)
cmd()
elif dos == "Boom":
def boom():
print("Loop")
boom()
boom()
elif dos == "Pwr":
clear_output()
elif dos == "Telnet":
clear_output()
t.sleep(0.1)
def telnetbucle():
telnet = input("Telnet:")
if telnet == "Star wars":
clear_output()
t.sleep(0.1)
print(" ")
print(" ")
print(" ")
print(" ")
print(" ")
print(" ")
print(" ")
print(" loading ")
t.sleep(3)
clear_output()
print(" ")
print(" ")
print(" \\\ // ")
print(" \\\ // ")
print(" o _________o ")
print(" 20th ")
print(" century ")
print(" studios ")
t.sleep(2)
clear_output()
print(" ")
print(" ")
print(" ")
print(" STAR ")
print(" WARS ")
print(" ")
print(" ")
print(" ")
t.sleep(2)
clear_output()
print("CONECTION ERROR")
t.sleep(1)
clear_output()
i = 0
while i <= 10:
print(".")
t.sleep(0.5)
clear_output()
print(". .")
t.sleep(0.5)
clear_output()
print(". . .")
t.sleep(0.5)
clear_output()
t.sleep(0.1)
i = i + 1
print("CONECTION LOST")
telnetbucle()
elif telnet == "Pwr":
cmd()
else:
print("WRONG COMMAND")
telnetbucle()
telnetbucle()
else:
print(" ")
print("WRONG COMMAND OR FILE")
print(" ")
cmd()
cmd()