Update app.py
Browse files
app.py
CHANGED
@@ -24,9 +24,7 @@ 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 = ["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,8 +66,8 @@ class UnitInitialization:
|
|
68 |
"identifier": "MS-DOS",
|
69 |
"class": "SAM",
|
70 |
"arch": "Warforged",
|
71 |
-
"alignment": "
|
72 |
-
"rank": "
|
73 |
"OS": "DIAMOND 12.0",
|
74 |
}
|
75 |
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", "∂G∞D", "±RⱯƖT¤R", "FRRΦR", "µURΔɆR∑R","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̴̤̬̟̳͕̮͍͔̱͔͇̓̏͛̾̑̊͂͒", "E̴̡̳͚̋V̵̛͈͎̝̺̹̥̺̲̒̈̽͑̈́̽̈́̀̏̈̌͛̇̆͌͋̓̌̀̈̍̒̿͠͝Į̵̢̡̺̗̪̮̜̥̠̣̪̠̭̗͖̺͖̽͌̅̀̚͜L̵̨̨̡̡͔͖̜̱̻̤͔̥̞̙̖̝̯̩̝̪̼̩̹̩̮̦̦͋̀̓̒̍̐͂̍̋̈͊̈̐̂̄͌̋̉̊̎͗̕","C̵͎̪̯͉̻̏͆̑͐̈́̑̐H̶̗̣̙̻̫̠̿̈́͗̎̚͠A̶̻̰͚͍̋̒̌̿͌̏͑O̸̜̱̱̐̊̿̅T̴̜̣̎͜͜I̶̟͋͛̀̚C̵͙͖͊̓͊͒̓̄͠ͅ","L̸̟̲̳̆A̶͒ͅW̵̢̎͊̀F̸͊̌ͅỤ̷͙̃͝L̷̟̀͑","N̶̮͕͗̒̏̄̽͆͌̄́͋͋͊̄È̷̱͕̞͉̙̗̻̙̪̟̖͕̭̐̊̒̍̿Ư̵͖̜̦͖̙̦͌̑̂̅̎̈̑̈́̍͘͝T̸̲̀͊͂̿̽̈́̒̅̑͘R̸̪̀Ą̵̛̙̼̩̮͇̼̯̗͙̝̉̋̂̚͜͝L̶̡̡̢̡̬̤̥͇͕̹̜̘͈͕̥͂͛̓͒̔͗̐̾̓͊͘̕"]
|
|
|
|
|
28 |
result = []
|
29 |
in_tag = False
|
30 |
for char in base_text:
|
|
|
66 |
"identifier": "MS-DOS",
|
67 |
"class": "SAM",
|
68 |
"arch": "Warforged",
|
69 |
+
"alignment": "EVIL",
|
70 |
+
"rank": "Inq",
|
71 |
"OS": "DIAMOND 12.0",
|
72 |
}
|
73 |
self.systems_status = {
|