shenzhen-solitaire.py
def gen_deck():
    """Generator for all of the cards in a standard deck."""
    yield Card(ROSE)

    for color in COLORS:
        for _ in range(4):
            yield Card(DRAGON, color)

        for num in range(1, 10):
            yield Card(NUMBER, color, num)
Generator for all of the cards in a standard deck.
Generator for all of the cards in a standard deck.
Generator for all of the cards in a standard deck .
def gen_deck():
    yield Card(ROSE)
    for color in COLORS:
        for _ in range(4):
            yield Card(DRAGON, color)
        for num in range(1, 10):
            yield Card(NUMBER, color, num)
def gen_deck ( ) : yield Card ( ROSE ) for color in COLORS : for _ in range ( 4 ) : yield Card ( DRAGON , color ) for num in range ( 1 , 10 ) : yield Card ( NUMBER , color , num )
Generator for all of the cards in a standard deck.
Generator for all of the cards in a standard deck .
"""Generator for all of the cards in a standard deck."""