Automated solver for Semantris using OpenCV and Word Embeddings
git clone git@github.com:pravj/semantris-solver.git
pip install -r requirements.txt
- Install OpenCV and Tesseract for your OS
- Download pre-trained word2vec from Google News corpus
- Set the model path as an environment variable SEMANTRIS_SOLVER_WORD2VEC_PATH
export SEMANTRIS_SOLVER_WORD2VEC_PATH=/path/to/GoogleNews-vectors-negative300.bin
Semantris Solver
Usage:
main.py play [--mode=<mode>] [--verbose]
main.py (-h | --help)
main.py --version
Options:
-h --help Show this screen
--version Show version
--verbose Print game activity logs
--mode=<mode> Semantris game mode [default: arcade]
- For now it only supports the
arcade
mode of the game. - Using the
--verbose
flag will enable the verbose logging configuration.
python main.py play --mode=arcade --verbose
- It will take 5-10 minutes to load the word embedding model
- Start the
arcade
version (inblue
color theme) of the game in a full screen mode - Put the cursor in the game input field for the system to enter the suggestions
- Wait for the
magicmodel to load 🎉