Scrabble - find all possible plays
I need extrem and urgent help: I currently developing a scrabble game in prolog, and I need to make the computer play, but I'm completly lost! Don't have the smallest clue how to analyse the board and find a play. This is for a work assignemt to be presented tomorrow, monday, and I'm desperate for help. So I'd like you to post here link to websites where I can find info on these algorithms. Thankx on advance ;)
EDIT: algorithms to analyse the board and determine valid plays.