This is an AI program that generates crossword puzzles. It forms part of the projects for the course CS50’s Introduction to Artificial Intelligence with Python.
The program has below listed dependency:
- Pillow Pillow is the friendly PIL fork. Python Imaging Library adds image processing capabilities to your Python interpreter.
All the following commands assume that your current working directory is this directory. I.e.:
$ pwd
.../cs50_ai_crossword
-
Install the required Python package (Pillow) for the project:
pip3 install Pillow
-
Run the application:
py generate.py data/structure1.txt data/words1.txt output.png