http://www.perlmonks.org?node_id=1007836


in reply to Re: Words With Friends Algorithm
in thread Words With Friends Algorithm

Currently the strongest Scrabble-playing program in the world is Quackle, which uses simulation as mentioned by ColonelPanic. It generally only simulates a few plies into the future, which is almost always good enough for a game like Scrabble with a significant random element. Also, Quackle's board is completely configurable so it should be able to play Words With Friends as well. The code is open-source and may be instructive. I don't know if this helps but I hope so!

-- Mike

--
XML::Simpler does not require XML::Parser or a SAX parser. It does require File::Slurp.
-- grantm, perldoc XML::Simpler