Results 1 to 2 of 2
  1. #1
    marcffm is offline Member
    Join Date
    Feb 2011
    Posts
    1
    Rep Power
    0

    Post MemoryGame, almost done

    Hey Java-Forums Community,

    my little Java MemoryGame is almost done, but i want to build another mode of game ... the "SpeedMode". So every player only should got (e.g.) 10seconds to take a card, if not ... the enemy will get the turn.

    I tried a little bit with "sleep()", but this only freezes my hole program. Is there an opportunity?

    Thanks for the help!

    Marc

  2. #2
    doWhile is offline Moderator
    Join Date
    Jul 2010
    Location
    California
    Posts
    1,642
    Rep Power
    6

    Default

    Without code or how your app is set up the best recommendation I can give is to use a Timer (Java Platform SE 6) or a java.util.Timer

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •