Bulls and cows: Difference between revisions
m
→{{header|AppleScript}}: typo
(→{{header|AppleScript}}: Add implementation.) |
m (→{{header|AppleScript}}: typo) |
||
Line 188:
repeat
set theMessage to ""
repeat with aGuess in
set {theGuess, theResult} to aGuess
set theMessage to theMessage & theGuess & ":" & bulls of theResult & "B, " & cows of theResult & "C" & linefeed
|