Bulls and cows/Player: Difference between revisions

Replaced "shallowCopy" with "move".
m (→‎{{header|Perl}}: future-proof for 5.36, explicit :prototype)
(Replaced "shallowCopy" with "move".)
Line 2,383:
history.findError()
break
choices.shallowCopy = move(remaining)</syntaxhighlight>
 
{{out}}
Line 2,424:
For guess 2687, score was wrong:
Expected 0 / 1, got 1 / 0.</pre>
 
=={{header|Perl}}==
<syntaxhighlight lang="perl">#!/usr/bin/perl
256

edits