Guess The Genre

Programming Module

Create a game that plays a random song and asks the user to guess the genre of that song. Then when the user guesses the genre, the game should play another song from the same genre. Otherwise, the game should ask the player to guess again.

You are given a list of songs of various world music genres. There are two songs from each genre. The skeleton code has a genres[18][3] two dimensional array where the 18 represents 18 different music genres. The size 3 array contains the genre name and two songs associated with the genre.

Use the playFile(filename) method from the SoundManager class to play a song, and stopFile(filename) to stop the song.