Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Barry
/
discordbot
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
9968068c
authored
2016-01-26 20:43:30 +0000
by
Barry
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Typo bug
1 parent
100769b5
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 additions
and
1 deletions
blackjack.py
db.sqlite3
blackjack.py
View file @
9968068
...
...
@@ -87,7 +87,7 @@ class Blackjack:
self
.
player_hand
.
add_cards
(
self
.
deck
.
draw
(
1
))
def
dealer_draw
(
self
):
while
self
.
play
er_hand
.
get_points
()
<=
21
and
(
self
.
dealer_hand
.
get_points
()
<
17
or
self
.
dealer_hand
.
get_points
()
<
self
.
player_hand
.
get_points
()):
while
self
.
deal
er_hand
.
get_points
()
<=
21
and
(
self
.
dealer_hand
.
get_points
()
<
17
or
self
.
dealer_hand
.
get_points
()
<
self
.
player_hand
.
get_points
()):
self
.
dealer_hand
.
add_cards
(
self
.
deck
.
draw
(
1
))
def
is_busted
(
self
):
...
...
db.sqlite3
View file @
9968068
No preview for this file type
Please
register
or
sign in
to post a comment