Skip to content

A solver for the sundial word problem typically encountered in the Sun(UK) Newspaper

License

Notifications You must be signed in to change notification settings

WillBickerstaff/sundial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sundial

A solver for the sundial problem typically encountered in the Sun(UK) Newspaper and conundrums

  • You must provide the letter that is required to appear in every word as the first character in the Letters entry field.

What you need

Written in python, so you won't get far without that python 2.x

  • pytk is need for the gui
  • odfpy to export the results as an odt document

both can be install with pip install

Caveats

  • Only ever run on Linuxx, you'll definately need to provide an alternative dictionary file on Windows systems
  • Only looks for a dictionary at /usr/share/dict/words (most debian derivatives have this), if there isn't one there you'll be asked to locate it.
  • Nice and quick upto 9 character combinations, OK on 10, you'll have to wait on 11, any more and you're on your own.

sundial2.py

A command line version Golfed down to 5 lines.... Not pretty!

For this you provide positional arguments

  1. letters with the first letter being the one required to appear in every word
  2. The minimum word length to solve

If you want to change the dictionary file in this youll have to edit sundial2.py

About

A solver for the sundial word problem typically encountered in the Sun(UK) Newspaper

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages