A simple tool to help you find words in Wordament puzzles using OpenCV.
Wordament Solver is a Python project that helps you find words in Wordament puzzles. It uses image processing techniques to extract the grid data from a screenshot of the game, and then employs a trie data structure to efficiently search for valid words in the puzzle. The project also displays the highest-scoring words and shows the path of each word on the grid using arrows.
To get started with Wordament Solver, follow these steps:
- Clone the repository:
git clone https://github.com/blackmonk13/wordament_solver.git
- Install the required packages:
pip install -r requirements.txt
- Run the project using a sample puzzle or a screenshot of the game.
python -m wordament_solver -h
When you have a cropped grid image like the following
python -m wordament_solver --image sample_images/grid/regular_grid.jpg --cropped --view
For more detailed examples and use cases, refer to the example.ipynb
notebook. It covers common scenarios and demonstrates how to use the package when imported as a package in other projects.
- Python - Programming Language
- NumPy - Array Processing Library
- OpenCV - Image Processing Library
- Pillow - Image Processing Library
- PyTesseract - OCR Library
- NLTK - Natural Language Processing Library
- SciPy - Statistics Library
- @blackmonk13 - Idea & Initial work
See also the list of contributors who participated in this project.
Wordament Solver is not affiliated with, endorsed, or sponsored by Microsoft Corporation or the creators of Wordament. The project is intended for educational and entertainment purposes only. Any use of this project to gain an unfair advantage in the game or to violate the terms of service of Wordament or Microsoft Corporation is strictly prohibited. The authors and contributors of this project are not responsible for any misuse of the software.