repl.it
Python

No description

fork
loading
Files
  • main.py
  • game.py
  • ospart.py
  • term.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
from term import *
from getpass import getpass
import random
from termcolor import colored
import ospart
import game
import os

users = ['kyalias', 
  'jana',
  'dkdude84',
  'augustine92',
  'missmarvel12',
  ]

random.shuffle(users)

cls = lambda: clear()
u1 = '[' + colored(users[0],'yellow') + ']: '
u2 = '[' + colored(users[1],'blue') + ']: '
u3 = '[' + colored(users[2],'green') + ']: '
us1 = users[0] 
us2 = users[1]
us3 = users[2]

eu = '[' + colored("cryp̸͘t͝o",'green') + ']: '
# gets username & password

cls()

ospart.init()
cls()

wr('Log in to mychat.')
wr('Warning: This will create an actual account in our cloud service (jsonstore)')
print(' ')
nu = input('Username:')
p = getpass('Password:')
print(' ')
u = '[' + colored(nu,'magenta') + ']: '
#begin chat section

cls()

cwr(nu + ' logged in.','yellow')

bwr("hi",u1)
bwr("hows life", u1)

bwr("good.", u)

cwr(us2 + ' logged in.','yellow')
bwr("oi im back", u2)
bwr("hey guys", u2)

bwr("hoi " + us2, u1)
bwr("hoi dudes", u2)

bwr("hows life my friend", u)

bwr("good, playing this unrealeased game", u2)

bwr("what do you mean unrealeased game?", u1)

bwr("I tell you later, lets talk friends first", u2)

bwr("okay...?", u)

bwr("i'm doing my homework, what about you?", u)

time.sleep(0.2)

cls()

reprint("can you send me the game?", 1, nu=nu, u=u, u1=u1, u2=u2, us1=us1, us2=us2)

cwr(us2 + " sent you cryp̸͘t͝o.exȩ",'cyan')

bwr("wait! that's not me whos typing!", u)

time.sleep(0.2)

cls()

reprint("thanks.", 2, nu=nu, u=u, u1=u1, u2=u2, us1=us1, us2=us2)

cwr(us1 + ' left.','yellow')
cwr(us2 + ' left.','yellow')
cwr('cryp̸͘t͝o logged in.','yellow')

bwr(colored("I advise you to be careful.",'red'), eu)
bwr(colored("I know your password.",'red'), eu)
bwr(colored("It's " + p,'red'), eu)
bwr(colored("Run my program to keep your friends safe.",'red'), eu)

cwr('cryp̸͘t͝o left.','yellow')

cwr(nu + " downloaded cryp̸͘t͝o.exȩ",'cyan')
cwr(nu + ' left.','yellow')

time.sleep(1)
cls()

ospart.part2()

clear()

game.start(nu, p)
?