No BSD License  

Highlights from
Countdown Tools

Be the first to rate this file! 1 Download (last 30 days) File Size: 298.43 KB File ID: #7477

Countdown Tools

by Murphy O'Brien

 

19 Apr 2005 (Updated 26 Apr 2005)

Tools to find all the solutions to the countdown letters and numbers games.

| Watch this File

File Information
Description

Tools to find all the solutions to the countdown letters and numbers games.

The letters game includes a large public domain dictionary from the Moby project.
See http://www.dcs.shef.ac.uk/research/ilash/Moby/

Here is an example of the use of each.

lettersgame('plainersz')
 Found 139 x 4 letters
 Found 146 x 5 letters
 Found 62 x 6 letters
 Found 14 x 7 letters
plainer
praline
alpines
spaniel
splenia
aliners
nailers
renails
paniers
rapines
planers
replans
panzers
pilsner
 Found 1 x 8 letters
pralines
 Found 0 x 9 letters
ans =
     [] [] [] [139x4 char] [146x5 char] [62x6 char] [14x7 char] 'pralines' ''

>> [e,a]=numbersgame(929,[3 7 75 8 6 1])
e =
    '(((7+3)x8+75)x6-1)'
    '(((75-3)x(7+6)+1)-8)'
    '(((75-3)x(7+6)-8)+1)'
    '((75-3)x((8+6)-1)-7)'
    '((75-3)x((8-1)+6)-7)'
    '((75-3)x(7+6)-(8-1))'
    '((75-3)x(8+(6-1))-7)'
a =
   929

MATLAB release MATLAB 7 (R14)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Updates
25 Apr 2005

Faster letters game (Still want to have a faster numbers game though).

26 Apr 2005

Now uses a text file instead of m file as the dictionary for portability.

Tag Activity for this File
Tag Applied By Date/Time
games Murphy O'Brien 22 Oct 2008 07:46:19
countdown Murphy O'Brien 22 Oct 2008 07:46:19
dictionary Murphy O'Brien 22 Oct 2008 07:46:19
letters Murphy O'Brien 22 Oct 2008 07:46:19
numbers Murphy O'Brien 22 Oct 2008 07:46:19
game Murphy O'Brien 22 Oct 2008 07:46:19
anagrams Murphy O'Brien 22 Oct 2008 07:46:19
countdown nopogo Beutler 15 Sep 2010 12:07:20

Contact us at files@mathworks.com