use ruleset instead of rule for naming, make rules editable by rebuilding the rulesets, make rule button have simple and advanced rule options, fix key input, fix mouse motion input

This commit is contained in:
csd4ni3l
2025-11-23 23:41:14 +01:00
parent d5de17f8e0
commit 6a318ebe67
3 changed files with 99 additions and 21 deletions

View File

@@ -13,7 +13,7 @@ DEFAULT_Y_GRAVITY = 2
DEFAULT_X_VELOCITY = 0
DEFAULT_Y_VELOCITY = 0
ALLOWED_INPUT = [ord(key) for key in ["a", "b", "c", "d", "e", "q", "w", "s", "t"]]
ALLOWED_INPUT = ["a", "b", "c", "d", "e", "q", "w", "s", "t"]
COLORS = [
"BLACK", "WHITE", "GRAY", "DARK_GRAY", "CYAN",