gym_splendor_code/envs/mechanics/board.py
def remove_card_from_board_and_refill(self, card: Card) -> None:
        """This method removes a card from board and puts a new one (if there is non-empty deck to take from"""
        self.cards_on_board.remove(card)
        if len(self.deck.decks_dict[card.row]):
            self.cards_on_board.add(self.deck.pop_card(card.row))
This method removes a card from board and puts a new one (if there is non-empty deck to take from
This method removes a card from board and puts a new one (if there is non-empty deck to take from
This method removes a card from board and puts a new one ( if there is non - empty deck to take from
def remove_card_from_board_and_refill(self, card: Card) -> None:
        self.cards_on_board.remove(card)
        if len(self.deck.decks_dict[card.row]):
            self.cards_on_board.add(self.deck.pop_card(card.row))
def remove_card_from_board_and_refill ( self , card : Card ) -> None : self . cards_on_board . remove ( card ) if len ( self . deck . decks_dict [ card . row ] ) : self . cards_on_board . add ( self . deck . pop_card ( card . row ) )
This method removes a card from board and puts a new one (if there is non-empty deck to take from
This method removes a card from board and puts a new one ( if there is non - empty deck to take from
"""This method removes a card from board and puts a new one (if there is non-empty deck to take from"""
self
card
Card