From 70778cce9483af1908b216ca4cd54c791490d948 Mon Sep 17 00:00:00 2001 From: Alexander Schmidt Date: Tue, 6 Oct 2020 11:43:36 +0200 Subject: [PATCH] added dice getter --- src/game.py | 3 +++ 1 file changed, 3 insertions(+) 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: -- 2.39.5