repl.it
Python

No description

fork
loading
Files
  • main.py
  • Packager files
  • poetry.lock
  • pyproject.toml
  • requirements.txt
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
import replit
import time
from termcolor import cprint, colored

replit.clear()
variables = 0
you = "i"
infectyou = colored(you, "red")

def write(text, color):
  for char in text:
    cprint(char, color, end="", flush=True)
    time.sleep(0.1)
  print("\n")

write("Welcome, to PYWop. Defeat HAXXCORP before they delete the internet...", "red")
def helpmenu(clear=True):
  #if clareplit.clear()
  cprint("""
Key:
@ - HAXXCORP router
i - you
* - virus
# - firewall
; - website
Hit a HAXXCORP router to destroy it.
Hit a firewall to be blocked (and die)
Hit a virus to get infected... and spread HAXXCORP routers everywhere...
And hit a website to save it from HAXXCORP.
""", "green")
helpmenu(False)