forked from test/mau_mau_bot
only show bluff option if not already bluffed
This commit is contained in:
parent
52fd88a87c
commit
9496d899ad
1 changed files with 3 additions and 1 deletions
4
bot.py
4
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)
|
||||
|
|
Loading…
Reference in a new issue