I'm working on a JavaScript word game for my APCSP class, and I need to know how I can check to see if an inputted word is "real" or not. The game's based off of BombParty (jklm.fun), which gives the user 2-3 letters and asks for a word containing those two letters.
Basically, I need two things: A way to upload an entire dictionary to my program, and a way to parse through that dictionary and see if it matches the word inputted. The first one is the most important right now, but I wouldn't refuse any ideas on the second one, either.
Important note, I'm coding this all in CodeHS, so I'm not sure it'll accept super in-depth JS functions, however it should take most things.
If anyone could offer some solutions or ideas, it would be appreciated. Thanks!