Skip to content

jjconti/sopa-de-letras

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

About

Basic wordsearch generator

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%