aboutsummaryrefslogtreecommitdiff
path: root/game.py
diff options
context:
space:
mode:
Diffstat (limited to 'game.py')
-rw-r--r--game.py14
1 files changed, 0 insertions, 14 deletions
diff --git a/game.py b/game.py
deleted file mode 100644
index 8c88f6e..0000000
--- a/game.py
+++ /dev/null
@@ -1,14 +0,0 @@
-from dataclasses import dataclass
-from datetime import datetime
-
-from player import Player
-
-
-@dataclass(frozen=True)
-class Game:
- played_at: datetime
- scores: dict[Player, int]
-
- def __str__(self) -> str:
- total_points = sum(self.scores.values())
- return f"Game played at {self.played_at} ({total_points} total points)"