Talk:Wordle comparison

From Rosetta Code
Revision as of 10:29, 16 February 2022 by Petelomax (talk | contribs) (→‎unclear)

unclear

What is the correct result for BULLY vs LOLLY? I would say it is probably
{ "grey" , "grey","green", "green","green"}, or possibly
{"yellow","grey","green", "grey" , "green"}, but almost certainly not the
{"yellow","grey","yellow","grey" , "green"} I'm getting, but I've never played the game.

I suspect you should mark all greens first, and then use a completely separate second loop to mark any yellows, as both my entries for bulls and cows and mastermind do? --Pete Lomax (talk) 10:01, 16 February 2022 (UTC)