From abf3cd3d2540e70824b17a05e5c3c4c74efd41aa Mon Sep 17 00:00:00 2001 From: Joe R Date: Fri, 24 Sep 2021 21:19:22 -0400 Subject: [PATCH] Added option to move cards with one click in Camelot. --- pysollib/games/camelot.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pysollib/games/camelot.py b/pysollib/games/camelot.py index ed2ffe8d..8c418f47 100644 --- a/pysollib/games/camelot.py +++ b/pysollib/games/camelot.py @@ -105,6 +105,11 @@ class Camelot_RowStack(ReserveStack): self.playMoveMove(1, game.s.foundations[0], sound=False) self.fillStack() return True + if not self.cards and game.s.talon.cards and \ + self.acceptsCards(game.s.talon, [game.s.talon.cards[-1]]): + game.s.talon.playMoveMove(1, self) + return True + return False def moveMove(self, ncards, to_stack, frames=-1, shadow=-1):