cs50_ai_crossword

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.

Usage

All the following commands assume that your current working directory is this directory. I.e.:

$ pwd
.../cs50_ai_crossword
  1. Install the required Python package (Pillow) for the project:

    pip3 install Pillow
  2. Run the application:

    py generate.py data/structure1.txt data/words1.txt output.png