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[i] = '\000'
answerBytes[ix] = '\000'
result[i] = 1
result[i] = 1
}
}