Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Game doesn't work - see error #1

Open
Robin-Andrews opened this issue May 4, 2018 · 0 comments
Open

Game doesn't work - see error #1

Robin-Andrews opened this issue May 4, 2018 · 0 comments

Comments

@Robin-Andrews
Copy link

Player hand is=
Traceback (most recent call last):
File "blackjack.py", line 251, in
deal_cards()
File "blackjack.py", line 138, in deal_cards
game_step()
File "blackjack.py", line 197, in game_step
player_hand.draw(hidden=False)
File "blackjack.py", line 68, in draw
self.cards[x].draw()
File "blackjack.py", line 30, in draw
print(str(self.rank + self.suit))
TypeError: must be str, not Deck

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

No branches or pull requests

1 participant