4 ms·
To avoid the binary search making it trivial, maybe just tell you which guesses are correct and which other guesses match a value somewhere, like yellow letters
by dave333 3y ago
To avoid the binary search making it trivial, maybe just tell you which guesses are correct and which other guesses match a value somewhere, like yellow letters in wordle. I think that would be more interesting but I have only played it in my head so the error margin could be significant. Of the top of my head I would use the lesser digits to search the space systematically while making the major digits match the color as best I could. Still it is fun as is and I have added it to my window of daily puzzle tabs.
- WhitneyLand 3y agoOr maybe not tell which digits match, and instead give a different type of clue, like Euclidean distance between the two colors.
- zarathustreal 3y agoConsidering that colors are a three-dimensional quantity with ambiguous ordering (#FF0000 and #00FF00 being equal distance from #000000 for example) I’m not sure how you’re thinking a binary search would trivialize this?
- zarathustreal 3y agoThis is what I get for not actually clicking the link..each of the dimensions are given independent indications of being too high or too low
- KerryJones 3y agoHex is always specific ordering, R > G > B. They're all 0 through F (16 digits). It gives you a "higher, lower, equals" on every digit. That means it's 6 cases of binary searches, 2^4 = 16, so that's all you're going to need.