Menu

Tree [fe7138] master /
 History

HTTPS access


File Date Author Commit
 lib 2018-01-20 Will Bickerstaff Will Bickerstaff [fe7138] Make first latter appear in every word optional
 LICENSE.md 2012-08-30 Will Bickerstaff Will Bickerstaff [1e6f8a] First commit
 README.md 2015-04-25 Will Bickerstaff Will Bickerstaff [3de9c9] Update README.md
 sundial.py 2012-08-31 Will Bickerstaff Will Bickerstaff [69f9be] tkinter gui
 sundial2.py 2012-08-31 Will Bickerstaff Will Bickerstaff [afb34f] Whitespace errors, some var names shortened in ...

Read Me

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

MongoDB Logo MongoDB