aboutsummaryrefslogtreecommitdiff
path: root/cgi/framework.py
diff options
context:
space:
mode:
Diffstat (limited to 'cgi/framework.py')
-rw-r--r--cgi/framework.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/cgi/framework.py b/cgi/framework.py
index 0f62fff..7894c16 100644
--- a/cgi/framework.py
+++ b/cgi/framework.py
@@ -14,6 +14,13 @@ from http.cookies import SimpleCookie
from settings import Settings
from database import *
+### Constants ###
+BIT = lambda x: 2 ** x
+
+RB_FRONT = BIT(0)
+RB_ALL = BIT(1)
+RB_KAKO = BIT(2)
+RB_HOME = BIT(3)
def setBoard(dir):
"""