Talk:Mastermind: Difference between revisions

mNo edit summary
 
Line 26:
<br /> The relevant line in the pdf is "No Key Peg to indicate a color that does not appear at all in the secret code." So a - is not ok there. Inspecting the code for the case when there were that many duplicate colors, I did find a problem with displaying XXXO when the program should show XXXX when the code is AAAA, though :)
--[[User:Wherrera|Wherrera]] ([[User talk:Wherrera|talk]]) 19:59, 12 July 2019 (UTC)
 
Well, it appears my implementation was the incorrect one, sorry about that! I read the rules on Wikipedia which seemed to suggest that there is a max of one peg per color/letter in the guess per color/letter in the original code. Will change the Python one to match the duplicates allowed rules. Curious which way the other implementations are going on these rules now.
[[User:Zacharymatson|Zacharymatson]] ([[User talk:Zacharymatson|talk]]) 13:39, 13 July 2019 (UTC)