games.jotto.players
Class RandomComputerGuesser

java.lang.Object
  extended by games.jotto.players.JottoGuesser
      extended by games.jotto.players.ComputerGuesser
          extended by games.jotto.players.RandomComputerGuesser

public class RandomComputerGuesser
extends ComputerGuesser

This is the Random Computer Guesser class. Randomly guesses a word

Author:
vr28, jtl7

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

RandomComputerGuesser

public RandomComputerGuesser(int maxGuesses,
                             IJottoModel currentJottoGame,
                             java.util.ArrayList<java.lang.String> wordList)
Method Detail

computerGuessesWord

protected void computerGuessesWord()
Specified by:
computerGuessesWord in class ComputerGuesser