Created
October 26, 2017 14:05
-
-
Save arferreira/81b607bfc9974703492c80c26f1f6507 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
welcome | |
number_secret = sort | |
limit = 10 | |
kicks = [] | |
for attempt in 1..limit | |
kick = get_number kicks, attempt, limit | |
kicks << kick | |
break if verify kick, number_secret | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment