Can automatically solve a word blitz game. To run the program execute the following command.
- You will need a install of python3.x.
- Download this source code by cloning the master branch, or downloading.
- Install all the python dependencies by running
pip install -r requirements.txt
If you want to keep your python install independent of any dependencies in this project, you can install a virtual environment.
- Go to the directory of this project.
- Create virtual environment by running
virtualenv venv
. - Activate the virtual environment by running
venv/Scripts/activate
on Windows orsource venv/bin/activate
on Unix. - Once inside the virtual environment, run step 3 in installation.
This script is designed for a game on a 1920*1080 screen. If you need to change, go to networkx_functions#L53 and change the value of the offset.
python word_blitz_view.py
To find words, We construct a graph (each node represent a chars with its position on the screen). Then, we walk recurssivelly inside the graph in order to find words.
- Add a timer or detect the end of the game in order to stop the solver.
- Auto chars detection, using opencv and tesseract or something like that.
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.