My guess 1: red orange orange red, returned result: XXXX (all 4 colors wrong)
My guess 2: blue blue yellow white, returned result: WWWW (all 4 colors correct but in wrong positions)
My guess 3: yellow white blue blue, returned result: WWWW (this is not possible given result 2)
Conclusion: Defective. But perhaps I can figure something out.
My guess 4: blue yellow white blue, returned result: RRWW (2 in right position)
My guess 5: blue white yellow blue, returned result: WWWW
My guess 6: blue yellow white orange, returned result RRRW
My guess 7: green yellow white orange, returned result: RRRR (correct combination, matched code)
I'm done. This thing is fubar. I'm amazed I actually won it given its behavior, the odds of success were heavily set against me considering it basically never tells the truth and I was left wondering about the nature of the lies and how they might come about from bad programming. There are other implementations of mastermind that actually work if anyone wants to play it. The best one is the one that is only on armorgames now, made by the swain with his mastermind character.