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?
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?
-
-
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)
-
ooh I see
End of conversation
New conversation -
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.