Trebek / pydealer

A simple package containing classes/methods for constructing decks of playing cards (standard 'French deck'). Could be used for a CLI game, or even a graphical game as well.
http://pydealer.rtfd.org
GNU General Public License v3.0
78 stars 19 forks source link

stack.empty() does not return a list of cards #24

Closed yipcma closed 6 years ago

yipcma commented 6 years ago
import pydealer
deck = pydealer.Deck()
hand = pydealer.Stack()
hand.add(deck.deal(5))
test = hand.empty()
print(test)
# this gives None
yipcma commented 6 years ago

ok, solved, needs return_cards=True.