diff options
| -rw-r--r-- | main.py | 8 | ||||
| -rw-r--r-- | src/strategy.py | 7 |
2 files changed, 11 insertions, 4 deletions
@@ -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): |
