Skip to content

display_card#48

Open
ChretienCml wants to merge 3 commits intobug_fixfrom
display_card
Open

display_card#48
ChretienCml wants to merge 3 commits intobug_fixfrom
display_card

Conversation

@ChretienCml
Copy link
Copy Markdown
Contributor

allow card to be dynamically display

ChretienCml and others added 3 commits October 27, 2019 17:41
Choose to instantiate CardAreaOrganizer in the GameController and then to retrieve the organizer into the refresh of the ViewGame
give the card organizer
:return: CardAreaOrganizer
"""
return cls.card_area_organizer No newline at end of file
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No newline at end of file

Comment thread src/cards/deck.py
if self.top_card_index == self.red_card_index:
# The deck needs to be shuffled
self.needs_shuffling = True
print("[Deck::getCard()] -> deck need to be shuffled")
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Python style !?

give the card organizer
:return: CardAreaOrganizer
"""
return cls.card_area_organizer No newline at end of file
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No newline at end of file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants