A word game solver bearing no resemblance to the show on Channel 4 whatsoever.
Usual node stuff. Make sure you have
gulp-cli installed on your command line (
npm install gulp-cli -g), then you can install using
If you type
node countdown.js, you get a recurring prompt. Input your anagram, and in true Susie Dent style it will give you the best words.
> node countdown.js ready type input to solve (EXIT to exit) > EMNRITFOS [ 'FERMIONS', 'SETIFORM', 'ENSIFORM' ] another? type EXIT to exit > EAUPTDMAD [ 'ADAPTED', 'UPDATED' ] another? type EXIT to exit > SODIGESOW [ 'GOODIES', 'WOODIES', 'ISODOSE' ]
Run the web server using
gulp. It will default to port 3000. You can then go to localhost:3000.
The same interface that's live at countdown.danielthepope.co.uk. Hitting that site will generate an anagram for you, or you can add the anagram of your choosing to the URL (e.g. /tnetennba) and it will generate the results for you.
I am using the Aspell word list.
Custom wordlist generated from http://app.aspell.net/create using SCOWL with parameters: diacritic: strip max_size: 70 max_variant: 3 special: <none> spelling: GBs GBz Using Git Commit From: Tue Sep 13 01:33:25 2016 -0400 [5742c16] Copyright 2000-2014 by Kevin Atkinson Permission to use, copy, modify, distribute and sell these word lists, the associated scripts, the output created from the scripts, and its documentation for any purpose is hereby granted without fee, provided that the above copyright notice appears in all copies and that both that copyright notice and this permission notice appear in supporting documentation. Kevin Atkinson makes no representations about the suitability of this array for any purpose. It is provided "as is" without express or implied warranty. Copyright (c) J Ross Beresford 1993-1999. All Rights Reserved. The following restriction is placed on the use of this publication: if The UK Advanced Cryptics Dictionary is used in a software package or redistributed in any form, the copyright notice must be prominently displayed and the text of this document must be included verbatim. There are no other restrictions: I would like to see the list distributed as widely as possible. Special credit also goes to Alan Beale <firstname.lastname@example.org> as he has given me an incredible amount of feedback and created a number of special lists (those found in the Supplement) in order to help improve the overall quality of SCOWL. Many sources were used in the creation of SCOWL, most of them were in the public domain or used indirectly. For a full list please see the SCOWL readme. http://wordlist.aspell.net/
I've previously used the Moby word list.
As well as a web interface, Countdown serves its own API. It's available through Mashape.