News for hackers. Stuff that matters.
Re:Hexcodle by johnzim on Thursday December 28, 2023 @04:32PM (#38798922)
Brilliant and probably building a skill that's actually useful (if a little esoteric).
Re:Hexcodle by KMnO4 on Thursday December 28, 2023 @05:05PM (#38799308)
You can only play once before it kicks you out. Kinda lame.

Also, I don’t think the hints are correct. It told me the digit 0 was “way higher” than the actual digit.

Re:Hexcodle by jdbartee on Thursday December 28, 2023 @05:09PM (#38799346)
I interpreted <<double up arrow>> to mean the correct solution was “way higher” than my guess, not that my guess was “way higher”.

The wording is potentially confusing, though.

Re:Hexcodle by mmanfrin on Thursday December 28, 2023 @05:21PM (#38799466)
> Also, I don’t think the hints are correct. It told me the digit 0 was “way higher” than the actual digit.

You have this backwards.

Re:Hexcodle by m000 on Thursday December 28, 2023 @05:13PM (#38799380)
You can only play once before you realize you can cheat using the browser DOM inspector.

Nice idea though.

Re:Hexcodle by redhale on Thursday December 28, 2023 @06:05PM (#38799861)
LOL

You can cheat at Monopoly by just taking more money out of the box. You can cheat at Wordle by googling the answer for that day.

Re:Hexcodle by Retr0id on Friday December 29, 2023 @05:08AM (#38803417)
Isn't playing once per day the whole draw of wordle-likes?
Re:Hexcodle by croes on Thursday December 28, 2023 @05:26PM (#38799512)
You only need 5 guesses to find any number between 0 and 15. With 4 you can find any number in a range of 15 numbers.

Just do a binary search.

Re:Hexcodle by Lerc on Thursday December 28, 2023 @06:08PM (#38799886)
Oh, Knowing that some browsers display higher and lower characters (where I had black squares) would indeed make it easier.

All I had was the colour diff to go by. I only managed to get got the major digits.

Re:Hexcodle by xp84 on Thursday December 28, 2023 @09:01PM (#38801036)
Did you go to great lengths to suppress emoji, are you running on Windows 7, or is it a bug?
Re:Hexcodle by rjh29 on Thursday December 28, 2023 @11:21PM (#38801731)
My stock Manjaro Linux system also displayed them as squares, installing noto-fonts-emoji fixes it.
Re:Hexcodle by tedunangst on Thursday December 28, 2023 @05:29PM (#38799531)
Is there any reason to look at the target instead of just going for binary search? The least significant digit is kinda meaningless to guess without fixing the more significant one.
Re:Hexcodle by jagthebeetle on Thursday December 28, 2023 @05:47PM (#38799714)
While I agree the LSD is somewhat meaningless, I personally find it fun to test my color matching/mixing. Binary search circumvents that (at least for the most significant digit); though I agree it really only applies for the first and maybe second guess.

For instance, my initial guess was off by (+1,-1,-1,+3,-1-2) and my first impulse was to look at the target and see that I had too much red and not enough green.

Re:Hexcodle by masto on Thursday December 28, 2023 @05:47PM (#38799721)
To have fun, perhaps?
Re:Hexcodle by IshKebab on Thursday December 28, 2023 @06:04PM (#38799854)
Games that can be trivially solved are generally not fun. Nobody* plays noughts and crosses for fun once they have figured out the solution.

*standard HN disclaimer

Re:Hexcodle by temporarara on Thursday December 28, 2023 @07:08PM (#38800306)
When I was younger we played way too much noughts and crosses with "infinite" board trying to get five in a row and it never stopped being fun. The "standard" 3x3 board was just 100% unfun and pointless to us even though we had no idea back then that there is a "solution".
Re:Hexcodle by tianshuo on Thursday December 28, 2023 @09:33PM (#38801220)
That game is gomoku, commonly played on 15x15, and is a strong first-player win, where the game is solved. https://en.wikipedia.org/wiki/gomoku
Re:Hexcodle by refulgentis on Thursday December 28, 2023 @06:24PM (#38800005)
It's non-trivial if you apply a computer science algorithm, true. Scrabble's trivial if you have a dictionary, chess is trivial if you have Stockfish installed...checkers...do they have a Stockfish?

More directly: it's actually pretty fun to guess these straight up. disclaimer: I have a strong bias towards having fun with color stuff - c.f. https://material.io/blog/science-of-color-design.

RGB is neigh-meaningless, true. Here, I get to exercise my intuition I should balance between red and blue based on warmth via hue of the color. Then, jack up G to match the lower of the two if its a light color / has high tone.

Re:Hexcodle by jncfhnb on Thursday December 28, 2023 @08:22PM (#38800765)
Scrabble is far from trivial with a dictionary :)
Re:Hexcodle by bombcar on Thursday December 28, 2023 @09:35PM (#38801230)
Exactly why we used to play with various levels - everyone could refer to the two letter word sheet with Q without U words also, and the players given a handicap could use the dictionary, though limited to 30 seconds on their turn.
Re:Hexcodle by jncfhnb on Friday December 29, 2023 @09:25AM (#38805193)
Ehhh no not what I meant. Scrabble is far from trivial even if you have a solver that shows all possible word combinations with your hand.
Re:Hexcodle by refulgentis on Friday December 29, 2023 @09:36PM (#38812410)
Dude come on lol
Re:Hexcodle by jncfhnb on Saturday December 30, 2023 @10:41PM (#38821532)
High level scrabble play isn’t a greedy algo to get the most points every turn with the best words. Positioning around bonuses matters more.
Re:Hexcodle by IshKebab on Friday December 29, 2023 @12:08PM (#38807366)
> It's non-trivial if you apply a computer science algorithm, true

Noughts and crosses? It's non-trivial if you're 8. No fancy algorithms needed. The other examples you mentioned can't be solved by an 8 year old in their heads.

> do they have a Stockfish?

No, which is why chess is still fun. You don't need a computer or even a pen and paper to solve noughts and crosses, or this.

Re:Hexcodle by justinl33 on Thursday December 28, 2023 @07:16PM (#38800362)
You’re right. I see the target colour as more of a nice visualisation of my quantitative working
Re:Hexcodle by airstrike on Thursday December 28, 2023 @06:17PM (#38799952)
This would work better with 3 guesses for R, G and B rather than 6 hex digits
Re:Hexcodle by dylan604 on Thursday December 28, 2023 @08:17PM (#38800742)
6 hex digits or 9 digits for RGB is better? In what way do you figure that to be true?
Re:Hexcodle by croes on Thursday December 28, 2023 @08:41PM (#38800889)
I think parent means guessing the three numbers of an RGB value not the 9 digits
Re:Hexcodle by dylan604 on Thursday December 28, 2023 @08:51PM (#38800968)
i guess that person is just thoroughly unfamiliar with editing colors in hex. it's just as easy for me to think in hex or rgb as it's just something i've done for a really long time, so it's harder to equate to why one would be "better" than the other in their opinion. now, me trying to use HSL is a whole other matter.
Re:Hexcodle by croes on Thursday December 28, 2023 @09:50PM (#38801313)
Better for a guessing game.

Guessing a number between 0 and 15 takes at max 5 guesses, guessing a number between 0 and 255 makes the game harder.

Re:Hexcodle by airstrike on Thursday December 28, 2023 @09:34PM (#38801223)
I said "3 guesses", not 9... but then again I've only been writing colors in hex for 18-19 years, so not sure if that makes qualifies as "thoroughly unfamiliar"
Re:Hexcodle by dylan604 on Thursday December 28, 2023 @10:20PM (#38801452)
I totally missed how you simply meant "guesses" and turned that into something it wasn't by meaning the number of digits to type. I honestly have no idea how I did that. Kind of like when someone is talking to you, but you're actually paying attention to something else so you reply with something that has no bearing whatsoever to what was actually asked. Yeah, that's what I'm going with
Re:Hexcodle by dagss on Friday December 29, 2023 @06:38AM (#38803939)
The point is that the way it is now, you have to guess 3 significant numbers and 3 insignificant numbers.

Guessing whether 1st, 3rd or 5th digit is 5 or 6 is something you can be trained for, a skill.

Guessing the 2nd, 4th, or 6th digit is an entirely different task and more a purely guessing game as they barely affect the color.

It sort of doesn't make sense..

Re:Hexcodle by kowlo on Thursday December 28, 2023 @06:31PM (#38800058)
good fun

I got Hexcodle #140 in 3 guesses!

Re:Hexcodle by LanternLight83 on Thursday December 28, 2023 @06:34PM (#38800080)
I wonder if metrics would show any difference in win-rate for HSL over RGB
Re:Hexcodle by ssalka on Thursday December 28, 2023 @06:36PM (#38800091)
Fun game! Can you add an indicator of which guess is which / their order? I was looking for the most recent guess at the bottom of the list, but it's actually on top
Re:Hexcodle by ChrisArchitect on Thursday December 28, 2023 @07:24PM (#38800415)
Had a laugh doing today's round. Proper nerd fun. Good job.
Re:Hexcodle by kgwxd on Thursday December 28, 2023 @07:29PM (#38800444)
Seems like a fun way to train your eye for recognizing colors. Only missed 2 playing the way I'm sure it was intended to be. Binary search is cool and all but, if you want to "cheat", right-click > inspect element is far more efficient.
Re:Hexcodle by throwaway81523 on Thursday December 28, 2023 @07:40PM (#38800509)
I've seen a pretty usable 3x5 font. I'm sure those have been done multiple times.
Re:Hexcodle by ryukoposting on Thursday December 28, 2023 @07:53PM (#38800588)
I found myself only looking at the arrows after making my first guess. Fun game nonetheless.
Re:Hexcodle by 8n4vidtmkvmk on Thursday December 28, 2023 @11:38PM (#38801799)
It immediately devolves to a binary search after the first guess.
Re:Hexcodle by quirino on Friday December 29, 2023 @01:27AM (#38802269)
Or even from the first guess, I started with #777777
Re:Hexcodle by anilakar on Friday December 29, 2023 @06:03AM (#38803757)
The player has five guesses. Four are enough to do a brute force binary search. Where's the fun?
Re:Hexcodle by volemo on Friday December 29, 2023 @04:11PM (#38810234)
I believe, a game would be more fun if, instead of nearing on one colour in several guesses, a player would guess once for several colours. Then one could really test their hex skills, not knowing the basics of search algorithms.
Re:Hexcodle by johndunne on Thursday December 28, 2023 @08:00PM (#38800634)
Fun game... a nice idea especially since it's a game that can help you imagine hex numbers in relation to RGB colour components.
Re:Hexcodle by dave333 on Thursday December 28, 2023 @09:15PM (#38801125)
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.
Re:Hexcodle by WhitneyLand on Thursday December 28, 2023 @09:30PM (#38801200)
Or maybe not tell which digits match, and instead give a different type of clue, like Euclidean distance between the two colors.
Re:Hexcodle by zarathustreal on Thursday December 28, 2023 @09:51PM (#38801315)
Considering 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?
Re:Hexcodle by zarathustreal on Thursday December 28, 2023 @09:54PM (#38801331)
This 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
Re:Hexcodle by KerryJones on Friday December 29, 2023 @06:35PM (#38811486)
Hex 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.
Re:Hexcodle by albert_e on Thursday December 28, 2023 @10:02PM (#38801373)
I thought it was a number game and realized it was colour code only after solving :)
Re:Hexcodle by exclipy on Friday December 29, 2023 @03:23AM (#38802777)
Would be cool if part of (or the entirety of) your score was the accuracy of your first guess. That's the part that takes skill, after that, it's not so interesting.
Re:Hexcodle by chinchang on Friday December 29, 2023 @04:50AM (#38803283)
Fun game!
Re:Hexcodle by almostnormal on Friday December 29, 2023 @05:06AM (#38803404)
Easy/hard switch at the top doesn't seem to do anything?

Maybe instead of hints for 4 bit summarize them to combined hints for the full bytes in hard-mode?

Re:Hexcodle by emrah on Friday December 29, 2023 @05:20AM (#38803498)
Very cool idea for a wordle alternative!
Re:Hexcodle by relbeek on Friday December 29, 2023 @07:43AM (#38804301)
No support for 3 digit hex codes?
Re:Hexcodle by pimlottc on Friday December 29, 2023 @09:29AM (#38805258)
Hmm, just did it again today and I got the same color as yesterday? It’s past 8 AM here, when does it change?
Re:Hexcodle by dimava on Friday December 29, 2023 @12:42PM (#38807821)
Can we get one with OKLCH please?

OKLCH is literally made with intention to make colors easily guessable

Re:Hexcodle by hannahlars on Friday December 29, 2023 @11:39PM (#38812866)
Hey all! My name is Hannah, 1/2 of the Hexcodle dev team. First of all, thank you for playing! We woke up today astonished with the amount of visits on our site and we can't thank you enough! Reading through these comments and we have been working on some of the feedback from you all: we have been working on the concept of a points system so playing will hopefully be a bit more engaging for those familiar with the binary search method! We're hoping to have this implemented within the next few weeks.

If you have any questions or want to give us feedback, we have a feedback form in our navbar, make sure to leave an email if you'd like me to follow up with you in the future.

Thanks again :)