Last active
February 26, 2016 20:17
-
-
Save albertbellonch/50bc3115f86e3e055f94 to your computer and use it in GitHub Desktop.
This file contains 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
#!/usr/bin/env ruby | |
level1 = %w{ Roger Jorge Ferran Bernat }.shuffle | |
level2 = %w{ Victor Albert Gorka Alex }.shuffle | |
level3 = %w{ Dario Jon Marc Cesar }.shuffle | |
level4 = %w{ Txell Eliza Pablo Daniel }.shuffle | |
4.times do |group_i| | |
group_players = [ | |
level1[group_i], | |
level2[group_i], | |
level3[group_i], | |
level4[group_i] | |
] | |
puts "Group #{group_i+1}: #{group_players.join(', ')}" | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment