Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tom-sherman/alphabear-solver
:bear:A script to solve Alphabear game boards
https://github.com/tom-sherman/alphabear-solver
Last synced: 14 days ago
JSON representation
:bear:A script to solve Alphabear game boards
- Host: GitHub
- URL: https://github.com/tom-sherman/alphabear-solver
- Owner: tom-sherman
- Created: 2015-07-20T13:59:02.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2018-01-26T18:24:24.000Z (almost 7 years ago)
- Last Synced: 2023-03-02T21:12:37.543Z (almost 2 years ago)
- Language: Python
- Homepage: http://tom-sherman.github.io/alphabear-solver
- Size: 2.08 MB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Alphabear Solver
A simple python script that is intended to be used to solve game boards on the
mobile game
[Alphabear](https://play.google.com/store/apps/details?id=com.spryfox.alphabear&hl=en) by Spry Fox.Can also be used as a
[Countdown](https://en.wikipedia.org/wiki/Countdown_(game_show)#Letters_round)
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](https://en.wikipedia.org/wiki/SOWPODS) dictionary with a
few changes from the Alphabear changelogs.## Usage
To use this script, you'll need Python 3 installed.
1. 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.
2. Run `hashdict.py`
3. Run `solver.py`Everytime you change/update the dictionary, you'll need to rerun `hashdict.py`
## Todo
* Read letters from game input.
* Calculate the actual in game points.### References
* Dictionary (`dictionary.txt`) is taken from
[here](https://code.google.com/p/scrabblehelper/source/browse/trunk/ScrabbleHelper/src/dictionaries/sowpods.txt?r=20)* [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)