joshbduncan / word-search-generator

Make awesome Word Search puzzles!
MIT License
74 stars 24 forks source link

Draw a rectangle around the words #54

Closed fabiox77 closed 9 months ago

fabiox77 commented 1 year ago

Hi, First of all thanks for this project. I was wondering if it'd be possible to improve it a little in how it generates the solution. I'd like to have the possibility to create a rectangle or other shapes around the word. Do you think you could add it?

For instance something like the following image MetalsWordsearchSolved

Thanks

joshbduncan commented 1 year ago

It is certainly doable, and honestly, I like the look of the sample you provided. I'm not sure I will be able to get to this soon but I will certainly leave this issue open so that I can tackle it when I have some time. Thanks for the suggestion!

joshbduncan commented 9 months ago

Hey @fabiox77, so I finally got around to implementing your suggestion. I may still adjust the colors (they are picked at random for now) so they can also work with the CLI output.

Samples below... Let me know what you think? Cheers!

sample_highlighting

sample_highlighting.pdf

nicolesimon13 commented 9 months ago

Shiny! How do we access / use this?

joshbduncan commented 9 months ago

You can install directly from git using pip...

pip install git+https://github.com/joshbduncan/word-search-generator.git