I am going to make a game in javascript , in which i will gives user a option to select given characters and make a valid english word , now the question is that how can i check in javascript that what user enters is a valid english word or not , suppose i give user following letters
- O
- D
- O
- G
Now possibly he can make three words from these characters God
, Good
or Dog
.
Thanks in advance
EDIT
what about this guys
Is this a good way to do so or not ?