Comments (3)
Yeah someone else also requested this so I've already built it in, I just haven't released a new version yet. Are you mainly using the api directly with Python or via the CLI?
from word-search-generator.
I am using the api directly with python. I'm excited to see it when it is released!
from word-search-generator.
I just push a version 3.4.0 which allows the new argument hide_fillers
to the show()
method. If set to True
, the filler character will be hidden and only the actual word characters will be shown. Please note this will negate the solution=True
argument.
from word_search_generator import WordSearch
p = WordSearch("cat bat rat mat hat")
p.show(hide_fillers=True)
...will produce:
---------------------------
WORD SEARCH
---------------------------
C A T
M
A
T
R
A
T
T B
A A
H T
Find these words: BAT, CAT, HAT, MAT, RAT
* Words can go SE, NE, S, and, E.
Answer Key: BAT S @ (5, 12), CAT E @ (12, 4), HAT NE @ (1, 14), MAT S @ (2, 6), RAT SE @ (8, 9)
Hopefully this helps with your use case. I'll update the package on PyPi shortly, so I fresh pip install should get you the new version. Cheers!
from word-search-generator.
Related Issues (20)
- add hide_fillers to save? HOT 5
- Outputting shortened words of a solution HOT 7
- change default path word search.exe HOT 2
- Unbake assumptions about secret words [priority, valid direction] from the Game class HOT 14
- fpdf2 required version discrepancy in dev requirements HOT 4
- Draw a rectangle around the words HOT 4
- --no-validators results in error: unrecognized arguments: --no-validators HOT 6
- Quick Questions - Solution, Diff Level and word lists. HOT 10
- Add an option to generate puzzles with lowercase letters? HOT 6
- Multilingual Support HOT 7
- Upgrade of packages required HOT 5
- Despite space, its not placing words? HOT 14
- Themed word sets
- latest cli version word-search HOT 2
- Why is there no difficulty 6 level? HOT 7
- How can i remove ans key HOT 1
- CLI doesn't work for me on MacOS 14.2 HOT 2
- Custom Filler Alphabet/Characters HOT 1
- palindrome words throw an error HOT 1
- Question about hide_key argument HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from word-search-generator.