Wordplay, AI based crossword puzzle solver
A crossword is a word puzzle that usually takes the form of a square or a rectangular grid of white- and black-shaded squares. The game's goal is to fill the white squares with letters, forming words or phrases, by solving clues, which lead to the answers.
Input : Crossword puzzle structure along with the wordlist.
Output : Solved crossword puzzle.
Executing the Program
- Make sure Python 3.6+ is installed.
- Install requirements
$ pip install requirements.txt
- Run the program :
$ python generator.py <puzzle structure path>/<file.txt> <wordlist path>/<file.txt>
Example :
$ python generator.py data/structure1.txt data/words1.txt
- Program output :
Solved crossword puzzle.
Feel free to follow along the code provided along with mentioned comments for
better understanding of the project, if any issues feel free to reach me out.
Contributing
Contributions are welcome!
Please feel free to submit a Pull Request.