You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/mastermind/core/models/game_entities.py
+1-2Lines changed: 1 addition & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -6,8 +6,7 @@
6
6
7
7
@dataclass(frozen=True)
8
8
classGameEntities:
9
-
"""
10
-
Dataclass for the entities of a game (such as players or those from plugins).
9
+
"""Dataclass for the entities of a game (such as players or those from plugins).
11
10
12
11
This class represents the key participants in a game, specifically the players involved in setting and breaking the code. It serves as a structured way to manage and reference these entities throughout the game's lifecycle.
Copy file name to clipboardExpand all lines: src/mastermind/core/models/gameboard.py
+4-8Lines changed: 4 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -8,8 +8,7 @@
8
8
9
9
@dataclass(frozen=True)
10
10
classGameBoard:
11
-
"""
12
-
Dataclass for the gameboard of a game.
11
+
"""Dataclass for the gameboard of a game.
13
12
14
13
This class represents the collection of game rounds that have taken place during a game session. It serves as a structured way to manage and track the progression of the game through its various rounds.
15
14
@@ -20,8 +19,7 @@ class GameBoard:
20
19
game_rounds: Deque[GameRound]
21
20
22
21
def__len__(self) ->int:
23
-
"""
24
-
Returns the number of game rounds in the game board.
22
+
"""Returns the number of game rounds in the game board.
0 commit comments