Mastermind: Difference between revisions

Content added Content deleted
(Added Python example)
Line 978: Line 978:
if i == j
if i == j
hints[i] = colorant"black"
hints[i] = colorant"black"
else
elseif hints[i] != colorant"black"
hints[i] = colorant"white"
hints[i] = colorant"white"
end
end
Line 1,173: Line 1,173:
mastermindapp()
mastermindapp()
</lang>
</lang>




=={{header|Kotlin}}==
=={{header|Kotlin}}==