- #1
toobs21
- 1
- 0
Hey, I'm busy doing a project where we have to make the blackjack game. Now my problem is the time delay when they are dealing out the cards. As when we run the game, and click deal we see that both house and player have the cards already.
Tried creatin my own delay with for loop, or using delay or using sleep, and all it does is delay the time between the moment the button was clicked for a few seconds. Then it deals out the cards quickly again.
All i want it to do is when i call the deal() to deal a card to the house, it deals it..delays for a few seconds, then deals to the player...then delays, then deals to the house...back and forth.
Can anyone help? thanx
toobs21
Tried creatin my own delay with for loop, or using delay or using sleep, and all it does is delay the time between the moment the button was clicked for a few seconds. Then it deals out the cards quickly again.
All i want it to do is when i call the deal() to deal a card to the house, it deals it..delays for a few seconds, then deals to the player...then delays, then deals to the house...back and forth.
Can anyone help? thanx
toobs21