Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Solution to a problem of creating a team output given a CSV player input

branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

README.rdoc

Team Maker Challenge

Overview

We would like to be able to read in the CVS input file data.csv and from it gather a unique list of the teams, and a list of the players on each team.

  • Once you have read in the data and divided it into the teams, print out a each team followed by the names of the players on that team.

  • Please use object oriented design if possible when writing your solution.

Output Format

The resulting printout should look something like this:

Dragons
   Miles Baker
   Joshua Montross
   Sean Rose
   Kat O'Malley
Samurais
   Jay Baker
   Greg Laporta
   Carol Baker
Lakers
   Jaime Martin
   Ashley Ralph
Tigers
   Colin Van Dyke
   Ben Jones
   Kris Baker
   Michael Rosenow
   Charles Saftner

Solution

Run the following command to generate the solution output:

ruby team_maker.rb
Something went wrong with that request. Please try again.