aboutsummaryrefslogtreecommitdiff
path: root/api/game
diff options
context:
space:
mode:
Diffstat (limited to 'api/game')
-rw-r--r--api/game/random.py2
-rw-r--r--api/game/voerbak_connector.py5
2 files changed, 3 insertions, 4 deletions
diff --git a/api/game/random.py b/api/game/random.py
index ab4323d..38b9ba6 100644
--- a/api/game/random.py
+++ b/api/game/random.py
@@ -42,3 +42,5 @@ def index():
player_1 = False
return { "id": game_id, "player_1": player_1 }, 200
+
+dynamic_route = ["/game", random_game]
diff --git a/api/game/voerbak_connector.py b/api/game/voerbak_connector.py
index 65551ca..6c08553 100644
--- a/api/game/voerbak_connector.py
+++ b/api/game/voerbak_connector.py
@@ -1,11 +1,8 @@
from colorama import Fore
-import logging as log
+import log
import subprocess
import os
-VERBOSE = log.ERROR
-log.basicConfig(format="[ %(levelname)s ]: %(message)s", level=VERBOSE)
-
DISC_SHAPE = "o"
DISC_A = Fore.RED + DISC_SHAPE + Fore.RESET
DISC_B = Fore.BLUE + DISC_SHAPE + Fore.RESET