afaik, guessing anything not 00000 or 11111 at first step will lead to an optimum strategy of 3 steps. because you introduce possible "right digit at wrong place" as a third state.
guessing 00000 or 11111 removes that third state and leaves you with simple substitution of wrong cells, which leads to an optimal 2 step strategy.
but obviously the shortest strategy is just guessing it right on the first try :D lol
Not to ruin a joke, but does it actually make a difference for SRAM? It’s two inverters in a loop, despite not being the same size they are active components. But I’m also a software guy so I could be totally wrong.
I have no idea in practice. But for the thermodynamic limit of actually making a difference, any irreversible change requires heat to be generated, e.g. initializing to zero, truncating, or bitshifts with discarded information. In contrast, addition/subtraction/multiplication/bitshifts without over-/under- flow will not necessarily generate heat.
PS. you can also use mass-energy equivalence to extend this to calculate the lower limit of mass for a given quantity of information. TL;DR: The internet weighs 50g https://www.youtube.com/watch?v=WaUzu-iksi8
Use a mix of 0s and 1s, if the answer is "00110" and you put in "11000" you'll have 4 yellow and 1 green. If you use only 0s or only 1s for your first guess, you'll just get green and grey, no yellow.
hmm. I guessed something different (010001 maybe, I cant remember) and won first go too. I looked in the comments hoping to find the joke. I guess I'm 1 of the 10 people who don't understand binary jokes.
Binary is too easy, but hex can be tricky. I made a hex-based wordle puzzle for my programming game where you have to guess an 8-digit hex string in as few as 6-12 guesses using wordle mechanics... called the level "dwordle" :)
Apologies for opening a tangeant on a tangeant, but am I the only one who thinks there are 2 levels of playing master mind (and therefore wordle)? Easy level, you let the player know exactly which spots are correctly placed and which ones are there but incorrectly placed. Hard level, you let the player know only that some are correctly placed and some are there but incorrectly placed without identifiying which ones.
I personnaly don't enjoy the easy level when playing mastermind, but I do enjoy the hard version which is much more investigative and in my opinion triggers the same brain process as when I'm debugging code.
139 comments
[ 2.8 ms ] story [ 195 ms ] threadStep 2: Replace all grey cells with 1s.
Step 2: Flip all the non green cells.
guessing 00000 or 11111 removes that third state and leaves you with simple substitution of wrong cells, which leads to an optimal 2 step strategy.
but obviously the shortest strategy is just guessing it right on the first try :D lol
Right digit at the wrong place = wrong digit = you should flip it.
This puzzle won't take more than 2 guesses no matter what you input the first time.
Step 1: Guess 11111.
Step 2: Replace all grey cells with 0s.
Thank you for your careful consideration.
I have no idea in practice. But for the thermodynamic limit of actually making a difference, any irreversible change requires heat to be generated, e.g. initializing to zero, truncating, or bitshifts with discarded information. In contrast, addition/subtraction/multiplication/bitshifts without over-/under- flow will not necessarily generate heat.
https://en.wikipedia.org/wiki/Landauer%27s_principle
PS. you can also use mass-energy equivalence to extend this to calculate the lower limit of mass for a given quantity of information. TL;DR: The internet weighs 50g https://www.youtube.com/watch?v=WaUzu-iksi8
Spoiler alert: There is a nice video by Captain Disillusion https://www.youtube.com/watch?v=ou7KSmfC3lA (the relevant part is https://www.youtube.com/watch?v=ou7KSmfC3lA&t=275s )
There is no such thing as a two, Bender!
https://thedailywtf.com/articles/what_is_truth_0x3f_
> There are 10 kinds of people in this world — those who understand binary and those who don’t.
There are other versions too[1][2][3].
[1]: https://news.ycombinator.com/item?id=7036594
[2]: https://news.ycombinator.com/item?id=7040175
[3]: https://news.ycombinator.com/item?id=25854900
…though now that I’m playing it in my head that’s too easy too. (Start at MSB and shift right if too high and add bits if too low)…
Maybe if you reduced the number of guesses to 5 that’d add enough chance to make it fun?
(video from like 3 years ago: https://www.reddit.com/r/Unity2D/comments/sq4anb/i_added_a_w...)
Gemini self-improved version (added the "Hint" and "What could it mean?" features): https://g.co/gemini/share/05c8cce3b2ff
https://en.wikipedia.org/wiki/Word_(computer_architecture)#T...
Odds in two attempts: 1 in 1
You won!
You guessed 01111 in 4 attempts!