()
| 27 | } |
| 28 | |
| 29 | public void setGuessedWord(){ |
| 30 | int length = this.compPick.length(); |
| 31 | this.guessedWord = new char[length]; |
| 32 | for(int i = 0; i < length; i++){ |
| 33 | this.guessedWord[i] = '_'; |
| 34 | } |
| 35 | } |
| 36 | |
| 37 | public void setGuess(String word){ |
| 38 | this.guesses = (int) (word.length()*1.5); |