See http://en.wikipedia.org/wiki/Boggle A computer player should use a dictionary to find all possible words.