JavaScript Word Search Puzzle Solver
The goal of a word search puzzle is to find the list of words hidden in the grid. We discover words horizontally, vertically, diagonally, or backward.
After coming across a puzzle online, I decided to automate the task of solving such a puzzle. For the actual game, we are using the online word search game.
While there are some optimizations I can make to speed up the finding and solving process, the script does automatically solve the puzzle.
The positions of the solved words will periodically highlight once the entire grid has been solved.
If you want to have this script run automatically, you can use a browser extension such as Tampermonkey
I've provided a working template you can use in the file named monkey.js