115 comments

[ 4.5 ms ] story [ 177 ms ] thread
It makes slightly more sense when you understand the context: https://www.youtube.com/watch?v=pfa3MHLLSWI
Carol Vordaman is just brilliant.

To tie back full circle [1], if anyone hasn't seen it there's a great UK show called Only Connect. It may appeal to people on here as it's a fiendishly difficult pattern matching game.

https://www.youtube.com/watch?v=0AB31ymF8zA

[1] The hostess (Victoria Coren) recently married David Mitchell - the co-creator of the numberwang sketch

Victoria Coren Mitchell now. She's amazing and Only Connect is brilliant.
I'm really interested to know what his process was, since he didn't seem to actually know the product he was subtracting 50 from.
Well it seems that he was always going for 4 from the top row, which reliably gives him 25, 50, 75 and 100 (I think). He then uses the ability to divide by 25 to treat these as an additional 2, 3 and 4. So once he has 318, he does (318 * 3) - 2 to get his 952, except via the 25s; ((318 * 75) - 50)/25. It's a hack; increasing the set of available numbers by guaranteeing the presence of a common divisor.
And that's Numberwang!
I'd think of the thought process a bit differently than lclarkmichalek, though of course with the same result.

To get close to 952, you can quickly think of 106x9. 106 is easy to obtain and you have a 3. You can get another 3 from 75/25. You're now at 954 with only a 50 left. If you could divide by 25, that would give you the 2 you're missing but you already used the 25, unless you were to divide later. So instead of doing 106x3x(75/25), you do (106x3x75-50)/25.

He could have certainly thought of it another way but based on how players typically play that game, that would be a somewhat logical progression.

I was wondering how he thought of that. Even though we don't know, this explanation is beautiful and makes a lot of sense. Thanks!
Another way to think about it:

He had the numbers 100, 3, 6, 25, 50, 75. 25, 50 and 75 are big and difficult to work with, but 50/25=2 and 75/25=3 are far easier. He could either do it right away, but that gives him either (2 and 75) or (3 and 25) and there's still a large number. (75x ± 50y)/25 on the other hand equals (3x ± 2y) and he's down to nice small numbers.

There's two answers already that seem correct, but perhaps overcomplex, so here's my go.

He always chooses 4 from the top row, so he always gets 25, 50, 75, 100 and the rest are chosen randomly.

Using them in combination he can always trade 25/50 for a "2", 75/25 for a "3" and 100/25 for a "4" if he needs them to get the answer. Rather than work that out on the fly he just remembers it.

Taking it once step further he can do (75x ± 100)/25 and get 3x ± 4, or (75x ± 50) / 25 and get 3x ± 2 if that would be helpful.

One of the other answers points out that he can go further and multiply that 50 or 100 by any of the random numbers he's given, which would be equivalent to multiplying the ± constant by the same amount though he doesn't use that level of complexity in his answer.

So he's basically building a toolbox of potential moves based on knowing that he'll always get those 4 numbers. He doesn't need to do the full calculation each time.

Now someone make 2048 where in addition to numbers you get math operations and should achieve some number. Game could even get more complicated during gameplay as new operations appear.
Is there a general name for the kind of problem the contestants try to solve in that round of the show? I've encountered variants of it "in the wild" in a game we played at university. People would challenge each other to place arithmetic operators and parentheses between the digits of the serial number printed on bus tickets to get the number 100, with some variations. Despite playing this game for quite a bit I never learned any name for it or the problem it used; I asked other people who played it and nobody knew one, either.

Googling around finds the exact question on Programmers SE (https://programmers.stackexchange.com/questions/213924/name-...) but no answer.

Any problem with the Countdown Numbers Game as a name? Any variations on it could simply be called Modified Countdown Numbers Game.
I'm glad there's an established name to attach to this problem but when I searched for them I didn't find variations of "Countdown numbers round problem/game" mentioned in books on mathematics/theoretical CS or in research articles. The idea behind the basic problem seems obvious and must have occurred to many people, so the lack of such mentions makes me suspect it may have a different canonical name as a specific type of combinatorial optimization problem. If there isn't one then "Countdown numbers (round) problem" will do just fine (I'd say "problem" is better than "game" because looked at like this it is not a game with players in a game-theoretical sense).
oh my god this. this so much. <3<3<3
Thank you netflix, for insisting that I would like peep show.
Looks like the internal state of the numbers that actually decide what can be merged is changed when you press a key. Also works if you hold it down, which is a bug I think.

Just hold down one direction to observe.

This game does not any have bugs by design. If you discover a bug than it is a feature.
I'll admit to getting annoyed a bit by all of these 2048 clones. But this made me laugh regardless.
Ditto. They've actually been pissing me off since it seems like Threes is getting shorted by 2048.

But this was great. I managed to get 11032 before I lost. Just making a rules engine that could deduce Numberwang along is an incredible accomplishment.

you do realize the games still the same as 2048 right? just look at the colors of the tiles.

the only thing randomized is the numbers on the tiles

Yeah. But the sense of humor from Numberwang makes it more than a "look I just stole someone else's idea" clone, gives it it's own personality.
These past few days have been one of the rare times I've wished HN functioned like reddit, so I could have the ability to hide posts from the front page. Not only has there been a constant barrage of clones, but they seem to have a lot of staying power in the top 30.
This is my favorite clone bar none. After about 5 seconds of playing I was giggling, as I remembered the sketches.
The first letter that popped up got me.
For me, it was the number 36 but a mirror image
Is that the elusive shinty six?
thank you for brightening my day. i love it
is only a matter of time now before someone makes a 2048 that is turing complete
Needs more fish numbers.
It actually plays identically to 2048 (except you can only rely on colours, not face values), but I still love it. Ich bin gewangernumbt!

https://www.youtube.com/watch?v=wJs3Tsx-3Ak

It's impossible to lose. Just hold down an arrow and watch your score go up.
You can lose, and it's worth it to see it happen!
No, it doesn't! I was doing well, and then it suddenly changed the color of one of my tiles. It was the largest tile I had (which I always keep in the lower left, so it was very distinctive), and it dropped by a factor of 8 (3 colors) or so. At least I'm pretty sure that's what happened...
Whenever you get Numberwang it seems to change some of the tiles either up or down the scale.
Das ist Nümberwang!
This is amazing! I cannot stop laughing! The first reversed number hit me like a ton of bricks and I couldn't stop.

BEST.2048.CLONE.EVER

Despite best efforts, this is still playable because the color codes haven't changed from the original.
(comment deleted)
I love this, only thing is it doesn't have my favorite number: H

Is there going to be a Wangernumb mode too?

Should you lose, "you've been wangernumbed!". Not sure if that counts as a mode.
I did get an 'h' once. It's simply less common than numers like 3 or √7. It's even got 'i' (and everyone knows that's not a real number).
Of course 'i' is a real number. 'There are i edges in this shape, where i is equal to the value of half of x'...You can also use it when texting informally e.g. 'i m out atm'.
i is a real number, it's one-fifth of v.
i'm not entirely sure what I'm doing, but I think I'm winning...
Welcome to life, you now understand the rules.
I think I just peed my pants.
Please guys, make it stop. I need to work. I need to sleep. I need to eat!! I have no idea wtf I was doing but this is by far the best! This dam game is worse than heroin....
Silicon Valley doesn't do the productivity porn thing anymore, does it?
Not bad... not bad at all!
This has just turned into a meme clogging up hn
Oddly enough, makes it easier to win.
I love this! I enjoy playing!