Countdown Tools

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

您现在正在关注此提交

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

引用格式

Murphy O'Brien (2026). Countdown Tools (https://ww2.mathworks.cn/matlabcentral/fileexchange/7477-countdown-tools), MATLAB Central File Exchange. 检索时间: .

类别

Help CenterMATLAB Answers 中查找有关 Word games 的更多信息

一般信息

MATLAB 版本兼容性

  • 兼容任何版本

平台兼容性

  • Windows
  • macOS
  • Linux
版本 已发布 发行说明 Action
1.0.0.0

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