()
| 20 | } |
| 21 | |
| 22 | public void pickWord(){ |
| 23 | int rng = wordCollection.length; |
| 24 | Random num = new Random(); |
| 25 | int i = num.nextInt(rng); |
| 26 | this.compPick = wordCollection[i]; |
| 27 | } |
| 28 | |
| 29 | public void setGuessedWord(){ |
| 30 | int length = this.compPick.length(); |