aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/strategy.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/strategy.py b/src/strategy.py
index 6713299..01b69ad 100644
--- a/src/strategy.py
+++ b/src/strategy.py
@@ -1,7 +1,10 @@
-from typing import Protocol
+from __future__ import annotations
-from src.game import Game
-from src.player import Player
+from typing import TYPE_CHECKING, Protocol
+
+if TYPE_CHECKING:
+ from src.game import Game
+ from src.player import Player
class GameEloChangeStrategy(Protocol):