Just click the tiles until you mess up. (I suggest playing this on the phone, it's easier.)
This was based off of piano tiles.