![]() |
|
![]() |
|
If we ignore the information contained in the score numbers, only comparing which score is higher, we could optimize using ternary search (or golden-section search). https://en.wikipedia.org/wiki/Golden-section_search (Note that binary search does not apply here. This is searching for an extremum, not a zero point.)
So in worst case there are 6 tries per slider. ~5 tries on average. I suspect this can be further optimized but I'll stop here :)
|
![]() |
|
So after calculating the 4 scores for [11,7,4],[4,4,8],[11,8,11],[4,11,7] we can put the 4 scores into a formula and it outputs the correct 3 values? Which formula would that be?
|
![]() |
|
I didn't have a formula, just a Javascript object with 4096 keys. You could try to use a formula, but the rounding would make it quite blurry, so an "exact" answer wouldn't necessarily be right.
|
![]() |
|
I just tried this and it took 12 goes to get "12) #02C (Splendid!)". Admittedly the target colour was very blueish, so I started with the blue slider and then added a couple of green clicks.
|
![]() |
|
This is my party trick. Describe a colour and I'll give you the hex code. As you can imagine I'm really popular at parties... |
![]() |
|
Yes! This game is a lot of fun. My only gripe with it is that the red area is small and the green area is huge, and that's really minor complaint. With the right people this game is amazing.
|
![]() |
|
What's the problem? just check the background color in inspect element and normalize to 16 levels :) haha But really, good job! very nice game, fun and challenging |
![]() |
|
94% means you need only one slide up or down, so 6 posibilities. If you move one and it doesn't solve, you can't move another without getting the first to the old position.
|
![]() |
|
I swear that #516 looks darker than #505 (although perhaps only against a background of #505 with #808 next to it). Something interesting is going on there with my perception of saturation.
|
![]() |
|
Nice! I would love to study how people hone in the correct color, and how close people get on the first try. Do people binary search or scan a range?, how do they prioritize the color channels? etc |
![]() |
| I got the first one in 10 guesses, then I tapped New Game but the background didn't change and my next guess said NaN% (Android Chrome) |
![]() |
|
Agree, that game is great for anyone who enjoys a color perception challenge! I just bought my first OLED phone, maybe it's time to play again. |
![]() |
|
Landed on a high blue, guessed #00CC00, was correct, closed the browser. Kind of interesting I suppose though maybe more granularity so that I can't so easily guess?
|
![]() |
|
RGB tells you that #952 is as far from #951 as, for example #952 is from #851, or from #962. They aren't. The first two are very close, practically the same to the eye.
|
Hillclimbing is already somewhat efficient:
That should result in something like 9 tries per slider on average, so 27 tries per color.One signal that could be used to improve it: The difference in score between 0 to 1 gives you the approximate length you have to move to the right.
Due to rounding, you don't get the exact length.
So My guess is that with an optimal strategy, on average you would need something like 4 tries per slider.
That comes down to and average of 12 tries per color.