I set myself a little coding challenge: Write a solver for the numbers round on Countdown. Here's where I got to (including the rules) https://gist.github.com/jakearchibald/a177a21ad4d1d901bd544deabcbc108f …. Maybe there's a better way?
-
Show this thread
-
Replying to @jaffathecake
Why disallow wasted moves (like division by 1)? Aren't there cases where those moves would be useful? Or is there no requirement to use all the cards?
1 reply 0 retweets 0 likes -
Replying to @mathias
There's no requirement to use all the cards. In fact, the solution tries to find the one that uses least cards (although in the TV show, there aren't points awarded for that)
1 reply 0 retweets 3 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
JavaScript, HTML, CSS, HTTP, performance, security, Bash, Unicode, i18n, macOS.