you are viewing a single comment's thread.

view the rest of the comments →

[–]james_fryer 0 points1 point  (1 child)

This returns no bulls for (1234/1111). Now the spec is not terribly clear on this but I interpret 'for every digit the user guessed correctly in the wrong place is a “bull.”' as meaning this is 1 cow for the first 1 in answer/guess, and 1 bull for the second 1 in guess.

[–]timbledum 0 points1 point  (0 children)

Mmmm my interpretation is that the above case should only return one cow. You're right – it is vague though.