hello,
I am implementing a java version of BlackJack for a bit of practise:
http://img432.imageshack.us/my.php?image=blackjackjr6.jpg
As you can see I have the graphics all set up, and the game runs fine with all computer players, but I need some help implementing the human player as I need the game to "wait" when its the Users go as I'm currently using a
while (players have not passed)
{
if(currentPlayer.play())
{
currentPlayer.takeCard(dealer.nextCard());
}
repaint();
currentPlayer = nextPlayer();
}
winner();
I dont think this is the best method when involving a human player in the game but can't work out where to go!
Thanks in advance!