diff options
| -rw-r--r-- | README.md | 1 | ||||
| -rw-r--r-- | main.py | 4 | ||||
| -rw-r--r-- | src/strategy.py | 9 |
3 files changed, 9 insertions, 5 deletions
diff --git a/README.md b/README.md new file mode 100644 index 0000000..3afa448 --- /dev/null +++ b/README.md @@ -0,0 +1 @@ +- https://www.microsoft.com/en-us/research/uploads/prod/2018/03/trueskill2.pdf @@ -167,8 +167,8 @@ games: list[Game] = [ Player.Thomas: 50, Player.Emma: 62, Player.Theo: 62, - } - ) + }, + ), ] for game in games: 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): |
