Results 1 to 2 of 2
Thread: MemoryGame, almost done
- 02-17-2011, 01:17 PM #1
Member
- Join Date
- Feb 2011
- Posts
- 1
- Rep Power
- 0
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
- 02-17-2011, 03:21 PM #2
Moderator
- Join Date
- Jul 2010
- Location
- California
- Posts
- 1,608
- Rep Power
- 5
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


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks