only show bluff option if not already bluffed

This commit is contained in:
Jannes Höke 2016-03-01 02:39:54 +01:00
parent 52fd88a87c
commit 9496d899ad

4
bot.py
View file

@ -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)