Interface IAutoPlayer
- All Superinterfaces:
- IPlayer, java.lang.Iterable<java.lang.String>
- All Known Implementing Classes:
- AbstractAutoPlayer, BadAutoPlayer, BoardFirstAutoPlayer, LexiconFirstAutoPlayer
public interface IAutoPlayer
- extends IPlayer
Add method for auto/computer player to the
standard player interface. An autoplayer
will find words on a board using a lexicon
via the single method exported by this interface.
Method Summary |
void |
findAllValidWords(BoggleBoard board,
ILexicon lex,
int minLength)
Find all the valid words automatically, found words should
be added via the IPlayer interface's add
method. |
Methods inherited from interface java.lang.Iterable |
iterator |
findAllValidWords
void findAllValidWords(BoggleBoard board,
ILexicon lex,
int minLength)
- Find all the valid words automatically, found words should
be added via the
IPlayer
interface's add
method.
- Parameters:
board
- is the BoggleBoard on which wrods are foundlex
- is the lexicon in which words are searched/validatedminLength
- of words found by an autoplayer