Basic wordsearch generator
Clone or download
Pull request Compare This branch is 14 commits ahead of rboulton:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
README.md
config.py
output_example.pdf
wordsearch.py

README.md

Wordsearch generator

(o Generador de sopas de letras)

Based on https://github.com/rboulton/wordsearch

Currently, this is a simple command-line script which generates a wordsearch grid.

Usage:

python wordsearch.py <difficulty> [word...]

Example:

python wordsearch.py easy duck "polar bear" dog horse rabbit

The grid size, and permissible directions for words, is controlled by the difficulty setting, which is one of easy, normal and hard.

The output grid is displayed on stdout, and written to a pdf file called with the same name of the first word.

Example of the generated pdf: https://github.com/jjconti/sopa-de-letras/blob/master/output_example.pdf

Requirements

Improvements from the original version

  • Better pdf layout
  • Configurable header and footer
  • Allow words with spaces (using quotes). Example: python wordsearch.py hard word1 "word with spaces" word3
  • Allow not only ascii input (for example, words with ñ or á é í ó ú are fine)