You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
2.2 KiB
2.2 KiB
Generating word search puzzles¶
In [ ]:
! git clone https://github.com/Magoninho/word-search-puzzle-generator.git
NOTE: two small changes need to be made in main.py to make this code work.
Comment this line out:
# words = ["wear", "variable", "print", "minimum", "graduate", "room", "bulk", "advise", "completed", "memory"]
And change this line...
lines = file1.readlines()
into:
words = [word.strip() for word in file1.readlines()]
Now it should work!
In [ ]:
! python3 word-search-puzzle-generator/src/main.py -h
In [ ]:
! python3 word-search-puzzle-generator/src/main.py --file word-search.txt -s 20 -c
In [ ]:
In [ ]: