(Card(0, CardColour.yellow), (1, 10)), (Card(0, CardColour.green), (1, 10)), (Card(0, CardColour.blue), (1, 10)), (SkipCard(0, CardColour.red), (0, 2)), (SkipCard(0, CardColour.yellow), (0, 2)), (SkipCard(0, CardColour.green), (0, 2)), (SkipCard(0, CardColour.blue), (0, 2)), (ReverseCard(0, CardColour.red), (0, 2)), (ReverseCard(0, CardColour.yellow), (0, 2)), (ReverseCard(0, CardColour.green), (0, 2)), (ReverseCard(0, CardColour.blue), (0, 2)), (Pickup2Card(0, CardColour.red), (0, 2)), (Pickup2Card(0, CardColour.yellow), (0, 2)), (Pickup2Card(0, CardColour.green), (0, 2)), (Pickup2Card(0, CardColour.blue), (0, 2)), (Pickup4Card(0, CardColour.black), (0, 2)), (Pickup4Card(0, CardColour.black), (0, 2)), (Pickup4Card(0, CardColour.black), (0, 2)), (Pickup4Card(0, CardColour.black), (0, 2)), ] SPECIAL_CARDS = [Pickup4Card] class TurnManager: """ A class to manage the order of turns amongst game players. """ def __init__(self, players): """ Construct a new turn manager to based on game players.
print("'card.play(anna,game)'") card.play(anna, game) print("\n") print("game.current_player().get_name()") print(game.current_player().get_name()) print(game.next_player().get_deck().get_cards()) print('*' * 40, end="\n\n") #Pickup4Card anna, players, deck, game = init() print("Pickup4Card") card = Pickup4Card(0, "red") print("game.current_player().get_name()") print(game.current_player().get_name()) print('-' * 5) print("'card.play(anna,game)'") card.play(anna, game) print("\n") print("game.current_player().get_name()") print(game.current_player().get_name()) print(game.next_player().get_deck().get_cards()) print('*' * 40, end="\n\n")