readjfb / boggle_player

A Python3 program that plays and solves Boggle. Utilizes a Trie data structure for fast indexing of a given dictionary. You won't lose family game night again with this handy program.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

boggle_player

To use the application, enter the Boggle Board in the .txt file, and run the .py file. The variables 'Crossing' and min_num_lett at the top of the turtle function are whether or not the path is allowed to cross, and the minimum number of letters that a word must have for the programto output it.

The Applescript script can be used to paste all of the words into another program one by one

  • To do so, simply copy the comma separated list, and paste it into the dialog box when prompted
  • It will then paste the words one by one

The Trie tree that is used to store the dictionary is from the Github page linked in the .py file https://github.com/vivekn/autocomplete/blob/master/trie.py#L11

About

A Python3 program that plays and solves Boggle. Utilizes a Trie data structure for fast indexing of a given dictionary. You won't lose family game night again with this handy program.

License:MIT License


Languages

Language:Python 100.0%