playMaker

Author Topic: Finding possible words with given letters  (Read 1528 times)

marcos

  • 1.2 Beta
  • Full Member
  • *
  • Posts: 199
    • View Profile
Finding possible words with given letters
« on: April 05, 2015, 09:04:12 AM »
Hey,

Just wondering what the best way to go about finding possible words from a word list array with a given selection of letters would be?

So for example, say you have a hand of the 7 letters ARTEKLP, you could check the word list and it would tell you that you can spell ART, RAT, TAR, TAKE, TREK, LAP, PALE, PEAK, PAT etc etc.

Ideally I'd like to extract the possible words from a word list array, and then put them into another arraylist to be accessed by the AI.

Any pointers? (Or custom actions  ;) ;) ? )

Mark

marcos

  • 1.2 Beta
  • Full Member
  • *
  • Posts: 199
    • View Profile
Re: Finding possible words with given letters
« Reply #1 on: May 31, 2015, 03:15:14 AM »
Bump

Wondering if anyone has a solution to this.