I made a blackjack game, and I want the AI player to pause between taking cards. I tried simply using Thread.sleep(x), but that makes it freeze until the AI player is done t
I think that in this tutorial is clear how to use Timers in order to achieve what you want, without having to deal with Threads.