Skip to content

Instantly share code, notes, and snippets.

@qfarenwald
Created May 15, 2019 02:17
Show Gist options
  • Save qfarenwald/15814ddf002d277418283952fedb0eba to your computer and use it in GitHub Desktop.
Save qfarenwald/15814ddf002d277418283952fedb0eba to your computer and use it in GitHub Desktop.
Class: Playlist
Attributes:
Genre (array)
Artist (array)
Album (array)
MP3Compatible (boolean)
NumberOfSongs (integar)
LengthOfPlaylist (float)
PlaylistName (string)
Methods:
AddSong (increase number of song to total and add to arrays)
SongsRemaining (take number of songs played subtracted from total)
AlphabetizeSongs (take items in array and compare first letters)
TimeRemaining (would subtract time played from overall length)
Rename (change playlist names)
CurrentSong (total number of songs minus songs played)
@jmevans0211
Copy link

Frisbee friend! It is nice to see how your group did yours. Our group did much more math kind of work (which was very confusing for me) but looking at yours helps for me to make sense of this. Looks great!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment