forked from test/mau_mau_bot
dont turn if the drawn card doesnt fit so we don't give away anything about that card
This commit is contained in:
parent
0efcf8403e
commit
2dedb16cb8
1 changed files with 1 additions and 2 deletions
3
bot.py
3
bot.py
|
@ -213,8 +213,7 @@ def chosen_card(bot, update):
|
||||||
game.draw_counter = 0
|
game.draw_counter = 0
|
||||||
player.drew = True
|
player.drew = True
|
||||||
|
|
||||||
if game.last_card.value == c.DRAW_TWO or \
|
if game.last_card.value == c.DRAW_TWO:
|
||||||
not player.card_playable(player.cards[-1], list()):
|
|
||||||
game.turn()
|
game.turn()
|
||||||
elif result_id == 'pass':
|
elif result_id == 'pass':
|
||||||
game.turn()
|
game.turn()
|
||||||
|
|
Loading…
Reference in a new issue