A lightweight solver for the popular iMessage game WordHunt.
WordHunt is a game where players are given a 4x4 board of letters and drag their finger along the board to make as many words as possible in under a minute and 30 seconds. The more words that a player makes, the more points they get, and the longer the words, the higher their score is as well. The player with the highest score at the end of the time limit wins the game.
It implements DFS and a Trie data structure to compute a list of all the optimum and possible valid words (and paths), given a board in the game. Check out the code for more detail! Read more about it here: :) https://medium.com/@nathan_149/never-lose-in-wordhunt-again-with-computer-science-bb09ad5015ee
-
Download the Github Repository
-
For Windows: Simply double click "runwindows.exe"
For Mac: double click "runmac.command" -
Wait for "Enter Board Here" and then input in the board from left to right:
i.e.
Board:
a b c d
e f g h
i j k l
m n o p
Input:
abcdefghijklmnop
- Enter in the solutions to the game and enjoy victory.