Skip to content

Commit 13763db

Browse files
Merge pull request #1417 from anshikajain108/patch-1
Update blackjack.py
2 parents 794e5a6 + 240e69c commit 13763db

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

BlackJack_game/blackjack.py

+9-9
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# master
22
#master
33
# BLACK JACK - CASINO A GAME OF FORTUNE!!!
4-
import time
4+
from time import *
55

66
# BLACK JACK - CASINO
77
# PYTHON CODE BASE
@@ -15,23 +15,23 @@
1515
random.shuffle(deck)
1616

1717
print(f'{"*"*58} \n Welcome to the game Casino - BLACK JACK ! \n{"*"*58}')
18-
time.sleep(2)
18+
sleep(2)
1919
print('So Finally You Are Here To Accept Your Fate')
20-
time.sleep(2)
20+
sleep(2)
2121
print('I Mean Your Fortune')
22-
time.sleep(2)
22+
sleep(2)
2323
print('Lets Check How Lucky You Are Wish You All The Best')
24-
time.sleep(2)
24+
sleep(2)
2525
print('Loading---')
26-
time.sleep(2)
26+
sleep(2)
2727

2828
print('Still Loading---')
29-
time.sleep(2)
29+
sleep(2)
3030
print('So You Are Still Here Not Gone I Gave You Chance But No Problem May Be You Trust Your Fortune A Lot \n Lets Begin Then')
31-
time.sleep(2)
31+
sleep(2)
3232
d_cards = [] # Initialising dealer's cards
3333
p_cards = [] # Initialising player's cards
34-
time.sleep(2)
34+
sleep(2)
3535
while len(d_cards) != 2:
3636
random.shuffle(deck)
3737
d_cards.append(deck.pop())

0 commit comments

Comments
 (0)