Created
November 16, 2012 12:30
-
-
Save digitalex/4086946 to your computer and use it in GitHub Desktop.
2 player tournament draw
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
players = ['sergei','birger','vincent','geir','harald','alex'] | |
players.shuffle.each_slice(2) do |a,b| | |
puts "#{a} - #{b}" | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment