Update app.py
Browse files
app.py
CHANGED
|
@@ -24,7 +24,9 @@ def glitchy_text(base_text, glitch_probability=0.5):
|
|
| 24 |
with random special characters based on a per-character probability.
|
| 25 |
We skip spaces, newlines, '<', and '>' so we don't break HTML.
|
| 26 |
"""
|
| 27 |
-
special_chars = ["
|
|
|
|
|
|
|
| 28 |
result = []
|
| 29 |
in_tag = False
|
| 30 |
for char in base_text:
|
|
@@ -66,8 +68,8 @@ class UnitInitialization:
|
|
| 66 |
"identifier": "MS-DOS",
|
| 67 |
"class": "SAM",
|
| 68 |
"arch": "Warforged",
|
| 69 |
-
"alignment": "
|
| 70 |
-
"rank": "
|
| 71 |
"OS": "DIAMOND 12.0",
|
| 72 |
}
|
| 73 |
self.systems_status = {
|
|
|
|
| 24 |
with random special characters based on a per-character probability.
|
| 25 |
We skip spaces, newlines, '<', and '>' so we don't break HTML.
|
| 26 |
"""
|
| 27 |
+
special_chars = ["GOOD", "TRAITOR", "ERROR", "*", "MURDERER",
|
| 28 |
+
"∂G∞D", "±RⱯƖT¤R", "FRRΦR", "µURΔɆR∑R",
|
| 29 |
+
"M̷͍̗̻̺̱̈́͑͂Ủ̷̩̠͙̯̘͛̑͠Ŗ̷̢̛̖͍̤͎̺̻͈̹̪̰̱̊̓̆̀̈̈́̅͂͂͐̓̃́͝D̶͉̺̝̦̭̂͋̉̐͊͑͒͑̓͘̚͝͝E̶̻͓̖͖͙̩͕̘̤̲̔͛̾̽̀͊͑̋͂̽̚͝ͅR̸̡̥̖͍̼̭͖͓̮̝̊͜Ĕ̴̪̝̖̜̣̲̦̭̣̼̤̦̰́́̏́̇̎̚͠R̶̨̧̠̱̻̩̪̥̱̄̔̑̈́̀̄̐̊̋̕", "G̷̭̼̺̦̱̑̃̕O̷̮̱̤͇̟̥͈̰̓̿̀͑̏̾͝Ṏ̸̩̺̼̘̮͚̗͙̦D̷̯͉̎̀̄͛̾́͊͌͐͘","Ţ̴̧͙͚̺̪̘͚̣̥̼̫̳̥̥͙̥̰̳̖͔̪͙̬́̇̎̍̋̈́̉͐́̉̿͆̀͛̕͘͜͠͝͝͝R̵̛̛͖̭͔̓̀̈́̿̉̊̆̍͑̀͒̿̈́̐̎̈́̌͊̓̓̿̽́̚͘̕̚͠͠Ą̴͚̹̱͖̙̲̑̌͒̍̑̈́́͒͆͗́͐̍̍̈͋͌͗̀̕̚̚͝I̸̧̢̠͇̺͓̣̥̭̹̖͕̤͓̜̙̳̬̩͓̠̫̯͇͍͛̓̆̍̃̐̌̈́͌̽͗̋͌́̾̓̎́̀͂̕͘̚̚ͅT̴̛͈̲̈́͌͆̈́͋Ô̶̢̨̨̨̙̗̻̯̙̥̖̪̜̪͔̪͇̙̪̹͚̩̪ͅṚ̴̢̭̘͇̤͓̿̊̈́̿̽ͅ", "İ̴͍̪̼̲̖͖͖̲̃̾n̶̯̖̱͛͊͛̀̌̑̀̑͛̇q̴̨̖͊̎̋̑̉͝q̸̢̝͉̙͉̥́̈́̈̊q̵̨̺͓̗̼̟͙̳̮̬̰̄̿̀̀̎̌̊̈̈́͝ȗ̸̬̜̤̗̮͈͎̉̽͆ͅi̶̩͓̻̲̣̘̞̯̬͆̐̃͂͜s̸͉̜̫̪̰̜̭̙̭͔͗ị̷͋̇t̶̞̘̱͔̼̖̪̹̻̒́̈̌͑͂͂̍̐̃̚͜r̴͕̪̭͚͍̬͈̯͔̅̽͗͜ͅ", "G̴̼̹͓͉̊̊͑̑̽̇̈O̴̭̱͕̺͆͒̍͌̔̚͜͝Ö̷̥͇̹͖́͆͝D̴͖̟͐̓̔","K̶͙̮̙̗̝̦̃̓̏͆̉̅͊̾͊̀Ḯ̷̡̱̹̰̣͈̰̣͉͋͌̍̎͗̍́͑̇̕͜͝ͅL̴̗̭͎͓̱͈̤͛͒̃̕L̷̢̜̯̞͈̇E̷̡̨̨̡̢̫̦͙̅̄̅̃̎̆͋̓̚͠R̴̤̬̟̳͕̮͍͔̱͔͇̓̏͛̾̑̊͂͒"]
|
| 30 |
result = []
|
| 31 |
in_tag = False
|
| 32 |
for char in base_text:
|
|
|
|
| 68 |
"identifier": "MS-DOS",
|
| 69 |
"class": "SAM",
|
| 70 |
"arch": "Warforged",
|
| 71 |
+
"alignment": "***",
|
| 72 |
+
"rank": "***",
|
| 73 |
"OS": "DIAMOND 12.0",
|
| 74 |
}
|
| 75 |
self.systems_status = {
|