Hi @Mark_Maltz,
Looking at the video I am guessing at every refresh the author reads the elements and gets all the alphabets available / already used from the options. Then checks how many letter does the word have and then using a possible word and checking with a dictionary you can get possible words (4 words, 5 words) given the possible words.
Off course this is a good example for game automation and author seems to have good grasp over manipulating DOM using JavaScript using node.js.
Such games can be automated using UiPath, but the initial question seems to want to automate some dynamic games like car racing etc.