From: Alexander Schmidt Date: Tue, 6 Oct 2020 09:43:36 +0000 (+0200) Subject: added dice getter X-Git-Url: http://git.treefish.org/~alex/shutbox.git/commitdiff_plain/70778cce9483af1908b216ca4cd54c791490d948?ds=sidebyside added dice getter --- diff --git a/src/game.py b/src/game.py index 04a32e2..50d83c0 100644 --- a/src/game.py +++ b/src/game.py @@ -17,6 +17,9 @@ class Game: if self._can_be_shut(rods): self._options.append(rods) + def get_dice(self): + return self._diced + def shut(self, rods): if self._is_valid_option(rods): for rod in rods: