def get_expedition_str(self, expedition): to_return = "" for card in expedition: to_return += value_to_str(card.value()) return to_return
def get_expedition_str(self, expedition): to_return = "" for card in expedition: to_return += value_to_str(card.value()) return to_return
def get_discard_str(self, pos): discard_pile = self.discards[pos] if len(discard_pile.hand): return(value_to_str(discard_pile.hand[-1].value())) return "."
def get_discard_str(self, pos): discard_pile = self.discards[pos] if len(discard_pile.hand): return(value_to_str(discard_pile.hand[-1].value())) return "."