english is better

This commit is contained in:
jeremy
2020-04-25 21:40:24 +02:00
parent fdd4bc0e45
commit 31fda6e95d
2 changed files with 10 additions and 7 deletions

View File

@@ -5,10 +5,10 @@ intro_text = "\n>$ You have been hacked\n>$ try to escape from the bad virus\n>$
random_text = [
"\n>$ All your base are belong to us\n>$ ",
"\n>$ The Answer to the Ultimate Question of Life, the Universe, and Everything is 42\n>$ ",
"\n>$ Que la force soit avec toi\n>$ ",
"\n>$ May the force be with you\n>$ ",
"\n>$ YOU SHALL NOT PASS!\n>$ ",
"\n>$ It's a trap!\n>$ ",
"\n>$ rm -rf /\n>$ ",
"\n>$ poweroff\n>$ ",
"\n>$ userdel $LOGNAME"
"\n>$ userdel $LOGNAME\n>$ "
]

View File

@@ -45,11 +45,14 @@ class Term:
return False
def print_creepy(self, msg):
try:
with open(self.tty, "w") as file:
for char in msg:
file.write(char)
file.flush()
time.sleep(random.uniform(0, 0.2))
except PermissionError:
return False
@staticmethod
def print_all_creepy(msg):