Skip to content

krvaibhaw/wordplay

Repository files navigation

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

  1. Make sure Python 3.6+ is installed.
  2. Install requirements
    $ pip install requirements.txt
  1. 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
  1. 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.

About

Wordplay, an artificial Intelligence based crossword puzzle solver.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages