|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgames.jotto.players.JottoGuesser
games.jotto.players.ComputerGuesser
games.jotto.players.RandomComputerGuesser
public class RandomComputerGuesser
This is the Random Computer Guesser class. Randomly guesses a word
Field Summary |
---|
Fields inherited from class games.jotto.players.ComputerGuesser |
---|
myGuess, myWordListCopy |
Fields inherited from class games.jotto.players.JottoGuesser |
---|
myConstants, myJottoModel, myMaxGuesses, myNumberOfGuesses, myWord, myWordList |
Constructor Summary | |
---|---|
RandomComputerGuesser(int maxGuesses,
IJottoModel currentJottoGame,
java.util.ArrayList<java.lang.String> wordList)
|
Method Summary | |
---|---|
protected void |
computerGuessesWord()
|
Methods inherited from class games.jotto.players.ComputerGuesser |
---|
newGame, process, tellModelWhosePlaying |
Methods inherited from class games.jotto.players.JottoGuesser |
---|
commonCount, displayNumberOfGuessesLeft, getRandomWord, revealAnswer, revealHint |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RandomComputerGuesser(int maxGuesses, IJottoModel currentJottoGame, java.util.ArrayList<java.lang.String> wordList)
Method Detail |
---|
protected void computerGuessesWord()
computerGuessesWord
in class ComputerGuesser
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |