-
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
-
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