add draw pile method

This commit is contained in:
Maximilian Keßler 2023-08-08 12:19:16 +02:00
parent e8f3405d58
commit e8a6b83d43
Signed by: max
GPG key ID: BCC5A619923C0BA5
2 changed files with 5 additions and 1 deletions

View file

@ -1,6 +1,6 @@
[project]
name = "hanabi"
version = "1.1.0"
version = "1.1.1"
description = "Hanabi interface"
readme = "README.md"
license = { file = "LICENSE" }

View file

@ -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):