Wordle comparison: Difference between revisions
Content added Content deleted
m (→{{header|Quackery}}: added BULLY/LOLLY test case) |
(→{{header|Go}}: Fixed bug, though results unaffected.) |
||
Line 44: | Line 44: | ||
ix := bytes.IndexByte(answerBytes, guess[i]) |
ix := bytes.IndexByte(answerBytes, guess[i]) |
||
if ix >= 0 { |
if ix >= 0 { |
||
answerBytes[ |
answerBytes[ix] = '\000' |
||
result[i] = 1 |
result[i] = 1 |
||
} |
} |