Skip to content

Instantly share code, notes, and snippets.

Vishal Sakaria vsakaria

Block or report user

Report or block vsakaria

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View team_picker.rb
#!/usr/bin/env ruby
class Manager
def pick_a_team(squad)
team =
# get the best players for every position from the squad
# and add them to the team
# for every position (goalkeeper etc)
# get the best player(s) from the squad
You can’t perform that action at this time.