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
|
||||
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()
|
||||
|
|
Loading…
Reference in a new issue