MCPcopy Create free account

hub / github.com/bennuttall/uno / functions

Functions77 in github.com/bennuttall/uno

↓ 44 callersMethodplay
Process the player playing a card. player: int representing player index number card: int representing index number of card
uno.py:196
↓ 21 callersMethodplayable
Return True if the other card is playable on top of this card, otherwise return False
uno.py:75
↓ 6 callersMethodreverse
Reverse the order of the iterable.
uno.py:325
↓ 5 callersMethodcan_play
Return True if the player has any playable cards (on top of the current card provided), otherwise return False
uno.py:122
↓ 4 callersMethodplayable
Return True if the other card is playable on top of this card, otherwise return False
uno_pgz.py:84
↓ 3 callersMethod_pick_up
Take n cards from the bottom of the deck and add it to the player's hand. player: UnoPlayer n: int
uno.py:268
↓ 3 callersMethod_pick_up
Take n cards from the bottom of the deck and add it to the player's hand. player: UnoPlayer n: int
uno_pgz.py:278
↓ 3 callersMethodplay
Process the player playing a card. player: int representing player index number card: int representing index number of card
uno_pgz.py:206
↓ 3 callersMethodprint_hand
(self)
uno.py:385
↓ 1 callersMethod_check_first_card
(self)
uno_pgz.py:289
↓ 1 callersMethod_create_deck
Return a list of the complete set of Uno Cards. If random is True, the deck will be shuffled, otherwise will be unshuffled.
uno.py:158
↓ 1 callersMethod_create_deck
Return a list of the complete set of Uno Cards. If random is True, the deck will be shuffled, otherwise will be unshuffled.
uno_pgz.py:168
↓ 1 callersMethod_deal_hand
Return a list of 7 cards from the top of the deck, and remove these from the deck.
uno.py:173
↓ 1 callersMethod_deal_hand
Return a list of 7 cards from the top of the deck, and remove these from the deck.
uno_pgz.py:183
↓ 1 callersMethod_print_winner
Print the winner name if available, otherwise look up the index number.
uno.py:258
↓ 1 callersMethod_print_winner
Print the winner name if available, otherwise look up the index number.
uno_pgz.py:268
↓ 1 callersMethod_validate
Check the card is valid, raise exception if not.
uno.py:38
↓ 1 callersMethod_validate
Check the card is valid, raise exception if not.
uno_pgz.py:47
↓ 1 callersMethodcan_play
Return True if the player has any playable cards (on top of the current card provided), otherwise return False
uno_pgz.py:131
↓ 1 callersFunctiondraw_deck
()
uno_pgz.py:453
↓ 1 callersFunctiondraw_players_hands
()
uno_pgz.py:468
↓ 1 callersMethodreverse
Reverse the order of the iterable.
uno_pgz.py:341
↓ 1 callersFunctionshow_log
()
uno_pgz.py:481
Method__eq__
(self, other)
uno.py:35
Method__eq__
(self, other)
uno_pgz.py:44
Method__format__
(self, f)
uno_pgz.py:38
Method__init__
(self, color, card_type)
uno.py:23
Method__init__
(self, cards, player_id=None)
uno.py:98
Method__init__
(self, players, random=True)
uno.py:139
Method__init__
(self, iterable)
uno.py:301
Method__init__
(self, players)
uno.py:333
Method__init__
(self, color, card_type)
uno_pgz.py:25
Method__init__
(self, cards, player_id=None)
uno_pgz.py:107
Method__init__
(self, players, random=True)
uno_pgz.py:148
Method__init__
(self, iterable)
uno_pgz.py:317
Method__init__
(self)
uno_pgz.py:349
Method__init__
(self, players)
uno_pgz.py:380
Method__next__
Iteration sets the current player to the next player in the cycle.
uno.py:152
Method__next__
(self)
uno.py:306
Method__next__
(self)
uno.py:343
Method__next__
Iteration sets the current player to the next player in the cycle.
uno_pgz.py:162
Method__next__
(self)
uno_pgz.py:322
Method__next__
(self)
uno_pgz.py:386
Method__repr__
(self)
uno.py:29
Method__repr__
(self)
uno.py:110
Method__repr__
(self)
uno_pgz.py:32
Method__repr__
(self)
uno_pgz.py:119
Method__str__
(self)
uno.py:32
Method__str__
(self)
uno.py:116
Method__str__
(self)
uno_pgz.py:35
Method__str__
(self)
uno_pgz.py:125
Method_color
(self)
uno.py:61
Method_color
(self)
uno_pgz.py:70
Method_delta
(self)
uno.py:314
Method_delta
(self)
uno_pgz.py:330
Methodcard_type_short
(self)
uno.py:54
Methodcard_type_short
(self)
uno_pgz.py:63
Methodcolor_short
(self)
uno.py:50
Methodcolor_short
(self)
uno_pgz.py:59
Methodcurrent_card
(self)
uno.py:181
Methodcurrent_card
(self)
uno_pgz.py:191
Methodcurrent_player
(self)
uno.py:189
Methodcurrent_player
(self)
uno_pgz.py:199
Functiongame_loop
()
uno_pgz.py:445
Methodis_active
(self)
uno.py:185
Methodis_active
(self)
uno_pgz.py:195
Functionon_mouse_down
(pos)
uno_pgz.py:491
Methodpos
(self)
uno.py:318
Methodpos
(self)
uno_pgz.py:334
Methodprint_hand
(self)
uno_pgz.py:430
Methodselected_card
(self)
uno_pgz.py:356
Methodselected_color
(self)
uno_pgz.py:366
Methodtemp_color
(self)
uno.py:65
Methodtemp_color
(self)
uno_pgz.py:74
Functionupdate
()
uno_pgz.py:484
Methodwinner
(self)
uno.py:193
Methodwinner
(self)
uno_pgz.py:203