Creating a keyboard-driven mini piano musical game
Now we can click on the Play button. The music game slides in and plays the song with music notes dropping down. Our next step is adding interaction to the music notes. Therefore, we will add keyboard events to control the three lines to hit the music notes.