aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main.py8
-rw-r--r--src/strategy.py7
2 files changed, 11 insertions, 4 deletions
diff --git a/main.py b/main.py
index d20b825..1d93332 100644
--- a/main.py
+++ b/main.py
@@ -161,6 +161,14 @@ games: list[Game] = [
Player.Martin: 36,
},
),
+ Game(
+ datetime.fromisoformat("2023-02-19 12:35"),
+ {
+ Player.Thomas: 50,
+ Player.Emma: 62,
+ Player.Theo: 62,
+ }
+ )
]
for game in games:
diff --git a/src/strategy.py b/src/strategy.py
index 1d30a55..6713299 100644
--- a/src/strategy.py
+++ b/src/strategy.py
@@ -1,8 +1,7 @@
-from typing import TYPE_CHECKING, Protocol
+from typing import Protocol
-if TYPE_CHECKING:
- from src.game import Game
- from src.player import Player
+from src.game import Game
+from src.player import Player
class GameEloChangeStrategy(Protocol):