Giter Club home page Giter Club logo

Comments (3)

joshbduncan avatar joshbduncan commented on September 21, 2024

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.

sofiahall avatar sofiahall commented on September 21, 2024

I am using the api directly with python. I'm excited to see it when it is released!

from word-search-generator.

joshbduncan avatar joshbduncan commented on September 21, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.