A simple python script that is intended to be used to solve game boards on the mobile game Alphabear by Spry Fox.
Can also be used as a Countdown with an arbitrary number of letters, not just 8 like in the game show.
Uses a dictionary, generated to map.json
, from dictionary.txt
. It's the
"official" SOWPODS dictionary with a
few changes from the Alphabear changelogs.
To use this script, you'll need Python 3 installed.
- Make sure you have a tone of words in
dictionary.txt
, one word per line. A wordlist is included here but you can modify it if you want. - Run
hashdict.py
- Run
solver.py
Everytime you change/update the dictionary, you'll need to rerun hashdict.py
- Read letters from game input.
- Calculate the actual in game points.
-
Dictionary (
dictionary.txt
) is taken from here -
[The World's Fastest Scrabble Program] (http://www.cs.cmu.edu/afs/cs/academic/class/15451-s06/www/lectures/scrabble.pdf) - Andrew W. Appel & Guy J. Jacobson (1988)