Friday, December 16, 2011

Can anybody help me with creating a Text Twist like game using java.. here's what i've got so far...?

Can anybody help me with creating a Text Twist like game using java.. here's what I've got so far...


i need to add an increment so that when the player already guessed 6 words the game proceeds to the next round.. and if the player guessed 3 wrong words.. the game will end.|||int badGuess=0;


int goodGuess=0;





while(goodGuess%26lt;6){


if(!guess.equals(answer)){


badGuess++;


if(badGuess%26gt;=3) exit;


}


else{


goodGuess++;


}

No comments:

Post a Comment