Jump to content

Bulls and cows: Difference between revisions

m
(→‎{{header|AppleScript}}: Add implementation.)
Line 188:
repeat
set theMessage to ""
repeat with aGuess in pastGuessesdpastGuesses
set {theGuess, theResult} to aGuess
set theMessage to theMessage & theGuess & ":" & bulls of theResult & "B, " & cows of theResult & "C" & linefeed
1,480

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.