AfterKraft / BlackJack

BlackJack Program for our Group Project
0 stars 0 forks source link

Game doesn't restart or ask for restarting #5

Closed gabizou closed 11 years ago

gabizou commented 11 years ago

When finishing a hand, the game ends, Make it so that it doesn't.

Duffmancool commented 11 years ago

Put the whole thing in a do while loop i and check if the player wants to continue with a message box or something:

boolean cont=true;

do{ /* WHITE Jack Program */ string in=JOptionPane.showInputDialog("Continue?(y/n)"); if(in=="y") cont=true; else cont=false; }while (cont);

gabizou commented 11 years ago

We'll rewrite the game code for BlackJack to be a separate object from the Game Logic.

Duffmancool commented 11 years ago

WhiteJack*

gabizou commented 11 years ago

Closing issue until WhiteJack 0.2 is released (Game API rewrite complete and basic GUI working).