From 9496d899ad1d2becc8325e801577c48135ebe631 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jannes=20H=C3=B6ke?= Date: Tue, 1 Mar 2016 02:39:54 +0100 Subject: [PATCH] only show bluff option if not already bluffed --- bot.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bot.py b/bot.py index 85524ac..e3dd1ad 100644 --- a/bot.py +++ b/bot.py @@ -84,7 +84,9 @@ def reply_to_query(bot, update): if player.drew: pass_(results) - if game.last_card.special == c.DRAW_FOUR and not game.choosing_color: + if game.last_card.special == c.DRAW_FOUR \ + and not game.choosing_color \ + and game.draw_counter: call_bluff(results) other_cards(playable, player, results)