/sopa-de-letras

Basic wordsearch generator

Primary LanguagePython

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)