Program not currently available to run from this website.
This page is for a word search for words from 9 letters and can be used with a well known Channel4 program. Originally created in VB6 with an Access97 database. The first 20 words will be displayed.
Please note that the boxes below are coded as asp tags and these won't work in a node.js web project. Might fix to make it look a little bit prettier. I won't be creating this program in JavaScript.
The program code is below. The 219,000 words were found on the internet. I am not convinced that they are all valid words. They are stored in a SQL database. The words are in a table with a numeric ID field, the word which has the number of letters between 4 and 9 and the same word, but sorted in alphabetical order. i.e. the word GREAT would have
ID = 1
Word = GREAT
SortedWord = AEGRT.
If you sort the 9 letters in the 9 text boxes, then you can "SELECT WORDS FROM DATABASE WHERE SORTEDWORD = 'AEGRTZZZZ'.
The logic does have a flaw in it which is finding duplicates, but the speed is quick so I have not fixed it.
Once the 9 letter words have been found, then it looks for 8 letter words by removing one of the 9 letters in turn. After this it will look for 7 letter words removing 2 letters from the nine, again in turn.
I have also allowed the program to work with less than 9 characters.