Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Time delay problem for project

  1. Sep 21, 2006 #1
    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
     
  2. jcsd
  3. Sep 21, 2006 #2

    CRGreathouse

    User Avatar
    Science Advisor
    Homework Helper

    You'll at least have to tell us what language you're using.
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?



Similar Discussions: Time delay problem for project
  1. Time Delay in C++. (Replies: 18)

  2. C++ Time Delay (Replies: 4)

Loading...