@SebastianCooke/

DigitalCompetitiveFunction

Python

No description

fork
loading
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
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
from random import randint , choice
from termcolor import colored
from replit import clear
from time import sleep
import sys
def spc(text , timeBetweenLetter):
  for c in text:
    sys.stdout.write(c)
    sys.stdout.flush()
    sleep(timeBetweenLetter)
  print("")
def coi(text,timebetweenletters):
  for c in text:
    sys.stdout.write(c)
    sys.stdout.flush()
    sleep(timebetweenletters)
  answer=input()
clear() 
print()
skip = input("Do you want to skip the animation? Press Q to skip.\n").lower()
if skip != "q":
  spc(colored("Welcome to the game of unknown ","green"),.1)
  clear() 
  print()
  spc(colored("Welcome to the game of unknown ","magenta"),.09)
  clear() 
  print()
  spc(colored("Welcome to the game of unknown ","blue"),.08)
  clear() 
  print()
  spc(colored("Welcome to the game of unknown ","yellow"),.07)
  clear() 
  print()
  spc(colored("Welcome to the game of unknown ","green"),.06)
  clear() 
  print()
  spc(colored("Welcome to the game of unknown ","magenta"),.05)
  clear() 
  print()
  spc(colored("Welcome to the game of unknown ","blue"),.04)
  clear() 
  print()
  spc(colored("Welcome to the game of unknown ","yellow"),.03)
  clear() 
  print()
  spc(colored("Welcome to the game of unknown ","cyan"),.02)
  clear() 
  print()
  spc(colored("Welcome to the game of unknown! ","red"),.01)
  clear() 
  print()
  spc(colored("W E L C 0 M E  T 0  T H E  G A M E  0 F  U N K N 0 W N !","red"),.02)
  sleep(2)
  clear() 
  print()
  spc("...",2)
  sleep(3)
  clear() 
  print()
  spc(" .:::.   .:::.   ",.007)
  spc(":::::::.:::::::  ",.007)
  spc(":::::::::::::::  ",.007)
  spc("':::::::::::::'  ",.007)
  spc("  ':::::::::'    ",.007)
  spc("    ':::::'      ",.007)
  spc("      ':'        ",.007)
  sleep(.1)
  clear()
  spc(" .:::.   .:::.   ",.007)
  spc(":::::::|:::::::  ",.007)
  spc(":::::::|:::::::  ",.007)
  spc("'::::::|::::::'  ",.007)
  spc("  '::::|::::'    ",.007)
  spc("    '::|::'      ",.007)
  spc("      '|'        ",.007)
  sleep(.1)
  clear()
  spc(" .:::.   .:::.   ",.007)
  spc(":::::::\:::::::  ",.007)
  spc(":::::::/:::::::  ",.007)
  spc("'::::::\::::::'  ",.007)
  spc("  '::::/::::'    ",.007)
  spc("    '::\::'      ",.007)
  spc("      '/'        ",.007)
  sleep(.1)
  clear()
  spc(" .:::.   .:::.   ",.007)
  spc("::::::\ \::::::  ",.007)
  spc("::::::/ /::::::  ",.007)
  spc("':::::\ \:::::'  ",.007)
  spc("  ':::/ /:::'    ",.007)
  spc("    ':\ \:'      ",.007)
  spc("      ' '       ",.007)
  sleep(.1)
  clear()
  spc(" .:::\   \:::.   ",.007)
  spc(":::::/   /:::::  ",.007)
  spc(":::::\   \:::::  ",.007)
  spc("'::::/   /::::'  ",.007)
  spc("  '::\   \::'    ",.007)
  spc("    '/   /'      ",.007)
  spc("     '   '       ",.007)
  sleep(.1)
  clear()
  spc(" .:::\    \:::.   ",.007)
  spc(":::::/    /:::::  ",.007)
  spc(":::::\    \:::::  ",.007)
  spc("'::::/    /::::'  ",.007)
  spc("  '::\    \::'    ",.007)
  spc("    '/    /'      ",.007)
  spc("     '    '       ",.007)
  sleep(1)
  clear()
else:
  print()
  clear()
spc("WARNING THIS GAME DOES NOT SAVE!",.02)
sleep(3)
clear()
coi(colored("You:\tAre you ready?\t(Press enter to continue)\n","green"),.02)
sleep(2)
name=input("What is your name?\n")
friend=input("What is your friend's name?\n")
sleep(4)
clear()
spc("It's been 23 years since the catastrophe... ",.02)
sleep(2)
spc(name+":\tAre you ready?...",.02)
sleep(2)
spc(friend+":\tI was born ready "+name+"!",.02)
sleep(2)
clear()
spc("You and "+friend+" both close your eyes as you both jump through the portal of darkness.",.02)
sleep(2)
clear()
spc("Once you and "+friend+" got to the other side of the portal it reminds you of the area 51 game you and "+friend+" use to play as kids.",.02)
sleep(5)
clear()
spc("You and "+friend+" saw the monsters, they were terifying. You somehow found a gun apeer in front of you, you feel like you are in a video game.",.02)
sleep(3)
clear()
spc("You see a hole to jump in to, You both jump and see monsters, like any normal person you try to shoot them but no ammo, so you grab ammo and shoot them.",.02)
da_way = coi("(Now is the point where you finaly get to make a decision) should we go right or left? asked "+friend+"\n",.02)
if "right" in da_way:
  spc("You go right, you and "+friend+"go right, you spot a cafe (because the monsters still have human minds they just look different.)",.02)
else:
   print("")