Skip to content

jzongker/WordBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WordBot

This javascript project demonstrates how to solve word puzzles like Scrabble, Words with Friends or crosswords through the process of elimination. It iterates through each space on the board to determine the pattern of empty spaces and placed tiles available horizontally and vertically from each starting position. It then determines every word that can fit in the space, given the letters in the players hand. It checks to see if any adjacent words are formed by placing each of those words and if those adjacent words are valid. It then totals the points for all of the words formed by each potential placement and takes into account bonus multiplier spaces. Finally it presents the user with a list of words that can be played. When the user clicks on a given word, it shows where that word would appear on the board.

Moby Word List provided by Project Gutenberg. See http://jzongker.github.io/WordBot/ for a live demo.

About

A word puzzle solving bot

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published