alex_merlin_1985 wrote:

> So, my problem is: I don't know how could make a clock that works when
> player1/player2 is to move. And even if this is made, how can I make
> it to run the clock and meanwhile to be able make moves with the
> keyboard, because if I make the clock to "tick" every second with
> a "for", I can't make moves with the kb till the for isn't finished...
> Do you guys have any idea?

Don't make your own clock. Check the system clock at suitable points  
in your routines and update a timing variable with it.

LEF





To unsubscribe, send a blank message to <mailto:[EMAIL PROTECTED]>. 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/c-prog/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to