Page 1 of 1

Rileys Reckoner

Posted: Mon Aug 10, 2009 3:55 pm
by David Wadsworth
Hi Everyone,

If anyone has any objection to this post then please remove it (I am fairly new to forums and very new to this one).

I am a software engineer and whilst watching countdown I worked out that it is possible to use every combination of numbers in the numbers game to work out if a solution is possible.

Having checked the web I found a couple of solutions, both of which missed solveable (new word?) number combinations and not wierd combos either, regular ones from the show.

I have now written a piece of software that uses every combination of numbers to ascertain a solution and it does it in less than 28 seconds (even on a slooooooooooow PC).

I will never charge for this software but would love to offer it free to anyone who wants a copy. It has been downloaded by around 2000 people during the last 3 months (from CNET) and all bugs have now been eradicated. I am not looking for anything out of this as it was undertaken on a purely research basis and is not finished to the usual standards expected by my company.

The URL is http://www.contactconsultants.co.uk/pro ... ckoner.exe (my company is Contact Consultants who offer any support or help completely free of charge).

Many thanks to all

David Wadsworth

Re: Rileys Reckoner

Posted: Mon Aug 10, 2009 4:17 pm
by Charlie Reams
I haven't tried your program yet (no Linux support :o) but I'd be surprised if it were as good as this one, which doesn't require a separate download and is quite a lot faster than 28 seconds. But it's a cool project to mess around with so well done on that front. Oh and yours has the best name.

Re: Rileys Reckoner

Posted: Mon Aug 10, 2009 4:43 pm
by Simon Myers
Stewart Gordon's cdsolve is my numbers solver of choice; despite the less glamorous name it's lightweight and very speedy. AFAIK it finds all possible solutions. The source code is available on his site too, if you don't mind D.

The word SOLVABLE is valid on Countdown, by the way.

Re: Rileys Reckoner

Posted: Mon Aug 10, 2009 7:44 pm
by Colin Wood
Thanks but I don't want .net on my machine.

I have always used Countup which seems to work fine for all combinations.

Re: Rileys Reckoner

Posted: Mon Aug 10, 2009 10:27 pm
by Jason Larsen
I had a feeling Charlie wouldn't object to that post because it is your program.

If it would have been somebody else's, then he would have thought otherwise.

Re: Rileys Reckoner

Posted: Wed Aug 12, 2009 1:19 pm
by David Wadsworth
Thanks to all for your kind comments.

Yah I didnt think mine would be the fastest or even the best but it is a fun project to kick around and the solution is neat!

The average solve time is two seconds but it continues through all solutions looking for the shortest (in steps).

My next project is a attempt to find the solution to 'Deal Or No Deal' ...

Wait ... I have it ... x = Random(1, NumberOfContestants) in any language.

I had intended to write RR for non-windows OS's but 88-90% of PC's use Windows and 100% of people with attitude use Linux.
(Sorry I saw this on another forum and couldn't wait to use it)

Roll on the 24th eh?

David Wadsworth

Re: Rileys Reckoner

Posted: Wed Aug 12, 2009 1:40 pm
by Charlie Reams
David Wadsworth wrote: The average solve time is two seconds but it continues through all solutions looking for the shortest (in steps).
Why not make it find the shortest one first?

Re: Rileys Reckoner

Posted: Wed Aug 12, 2009 2:29 pm
by Jason Larsen
Will it have Rachel Riley's smily face included?

Re: Rileys Reckoner

Posted: Wed Aug 12, 2009 4:26 pm
by Thomas Wood
David Wadsworth wrote:Thanks to all for your kind comments.

Yah I didnt think mine would be the fastest or even the best but it is a fun project to kick around and the solution is neat!

The average solve time is two seconds but it continues through all solutions looking for the shortest (in steps).

My next project is a attempt to find the solution to 'Deal Or No Deal' ...

Wait ... I have it ... x = Random(1, NumberOfContestants) in any language.

I had intended to write RR for non-windows OS's but 88-90% of PC's use Windows and 100% of people with attitude use Linux.
(Sorry I saw this on another forum and couldn't wait to use it)

Roll on the 24th eh?

David Wadsworth
DOND solution, lmao. I tried to download the programme but there's no support for Apple Mac's either, I'm sure it's great anyway! Must have taken you a considerably amount of time to compile.

Re: Rileys Reckoner

Posted: Wed Aug 12, 2009 4:43 pm
by Jason Larsen
How so, Thomas?

Re: Rileys Reckoner

Posted: Thu Aug 13, 2009 12:40 am
by Thomas Wood
Jason Larsen wrote:How so, Thomas?
I'm just guessing, to compose a programme that can solve any number's game must be programmed with every single outcome. Such as every possible number selection and every target number.

Re: Rileys Reckoner

Posted: Thu Aug 13, 2009 7:18 am
by Charlie Reams
Thomas Wood wrote:
Jason Larsen wrote:How so, Thomas?
I'm just guessing, to compose a programme that can solve any number's game must be programmed with every single outcome. Such as every possible number selection and every target number.
Yeah but think how long Microsoft Word must've taken, what with them having to program in every document that would ever be written. No wonder it's so expensive.

Re: Rileys Reckoner

Posted: Thu Aug 13, 2009 9:25 am
by David Wadsworth
Its the only way to be sure .....

The big trick is to get WinDoze to do the task quick enough.

Re: Rileys Reckoner

Posted: Thu Aug 13, 2009 9:30 am
by Phil Reynolds
Charlie Reams wrote:
Thomas Wood wrote:I'm just guessing, to compose a programme that can solve any number's game must be programmed with every single outcome. Such as every possible number selection and every target number.
Yeah but think how long Microsoft Word must've taken, what with them having to program in every document that would ever be written.
Ah, but they cheated and missed some out. This is why Word keeps trying to "correct" what you type in.

Re: Rileys Reckoner

Posted: Thu Aug 13, 2009 10:39 am
by Charlie Reams
David Wadsworth wrote:Its the only way to be sure .....
Nuke it from orbit?

Re: Rileys Reckoner

Posted: Thu Aug 13, 2009 4:32 pm
by Jason Larsen
Thomas, why would it matter what kind of computer you have?

Re: Rileys Reckoner

Posted: Thu Aug 13, 2009 6:50 pm
by Rosemary Roberts
David Wadsworth wrote:all bugs have now been eradicated
Um... Do you by any chance work for Microsoft?

Re: Rileys Reckoner

Posted: Thu Aug 13, 2009 8:20 pm
by Thomas Wood
Jason Larsen wrote:Thomas, why would it matter what kind of computer you have?
Apple Mac is a completely different (& better) OS to Windows. Mac's don't run .exe install files, they run .dmg so I can't install it sadly.

Re: Rileys Reckoner

Posted: Thu Aug 13, 2009 8:35 pm
by Jason Larsen
I'm the only person from Seattle here, Rosemary.

Re: Rileys Reckoner

Posted: Thu Aug 13, 2009 8:51 pm
by Matt Morrison
Thomas Wood wrote:Apple Mac is a [...] better OS to Windows.
and then Thomas Wood wrote:Mac's don't run .exe install files, they run .dmg so I can't install it sadly.
;)

Re: Rileys Reckoner

Posted: Thu Aug 13, 2009 11:00 pm
by Michael Wallace
Matt Morrison wrote:
Thomas Wood wrote:Apple Mac is a [...] better OS to Windows.
and then Thomas Wood wrote:Mac's don't run .exe install files, they run .dmg so I can't install it sadly.
;)
This highlights what I never understand about Mac vs. Windows arguments. I don't get why people pay for Macs when they can get Linux for free, and both come with the same main disadvantages associated with Not Being Windows.

(and just so I'm clear, I'm not saying Windows is better, just that if you're going to use a good OS but have to put up with not being able to run .exes, why pay for it if you don't have to?)

Re: Rileys Reckoner

Posted: Fri Aug 14, 2009 9:10 am
by Charlie Reams
Michael Wallace wrote: This highlights what I never understand about Mac vs. Windows arguments. I don't get why people pay for Macs when they can get Linux for free, and both come with the same main disadvantages associated with Not Being Windows.

(and just so I'm clear, I'm not saying Windows is better, just that if you're going to use a good OS but have to put up with not being able to run .exes, why pay for it if you don't have to?)
It's SHINY!!!!!!! And if that isn't worth £500, I don't know what is.