diff --git a/pyproject.toml b/pyproject.toml index 1b156f6..6464399 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "hanabi" -version = "1.1.0" +version = "1.1.1" description = "Hanabi interface" readme = "README.md" license = { file = "LICENSE" } diff --git a/src/hanabi/hanab_game.py b/src/hanabi/hanab_game.py index 0783f21..4998796 100644 --- a/src/hanabi/hanab_game.py +++ b/src/hanabi/hanab_game.py @@ -264,6 +264,10 @@ class GameState: def deck_size(self): return self.instance.deck_size + @property + def draw_pile_size(self): + return self.deck_size - self.progress + # Properties of GameState def is_over(self):