word hunt is a game for the iOS app GamePigeon where players are tasked to find words on a 4x4 board in 80 seconds, with points awarded based on the length of the word. the script generates a board either from an image or other input, or randomly based on the frequencies of the letters in the english language. from there, the board is represented as a family of tries, and words are found using a full graph traversal up to 8 letters deep.
- working model of the game
- create a solver
- generate boards through an image
- have a player automatically play the game
- have a machine physically play the game
what's next?
- GUI interface instead of CLI
- a method to display how each word is formed on the board
be sure to download the included .yaml file and create the environment, then run in the terminal using:
- -i <input file> : a screenshot of a board taken from the gamepigeon app. if none specified, will either create a random board or prompt for input.
- -o <output file> : a text file to store the found words in. if none specified, will print words to console.
- -d <dictionary json> : a JSON file of words that the board should be generated from. if none specified, will use a preselected dictionary.
- -r : if no input file specified, will create a random board.
- -f : if no output file specified, will print all words to console. otherwise, will only print the first 20.
dictionaries taken from: