def serve_phase_played(self, game, player): print "Activate Natsumi ability" game.draw_card(player, 1) player.service_count += 2 discarded = phase.make_decision(game, player, player.hand, "discard") if discarded: # TODO: All other players if hand >= 4, discard card pass
def serve_phase_played(self, game, player): print "Activate Esquine ability" game.draw_card(player, 2) print "\n%d cards in hand: " % (len(player.hand)) print player.hand print "\nDiscard up to 2 cards?" for _ in xrange(2): discarded = phase.make_decision(game, player, player.hand, "discard") if discarded: player.service_count += 1 else: break