From 2dedb16cb8ba4254f1cdd580756e1db39859261c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jannes=20H=C3=B6ke?= Date: Tue, 1 Mar 2016 03:04:43 +0100 Subject: [PATCH] dont turn if the drawn card doesnt fit so we don't give away anything about that card --- bot.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bot.py b/bot.py index 847d354..08fde71 100644 --- a/bot.py +++ b/bot.py @@ -213,8 +213,7 @@ def chosen_card(bot, update): game.draw_counter = 0 player.drew = True - if game.last_card.value == c.DRAW_TWO or \ - not player.card_playable(player.cards[-1], list()): + if game.last_card.value == c.DRAW_TWO: game.turn() elif result_id == 'pass': game.turn()