Swipe over the required number of cupcakes to get a level up.  Play for as long as you possibly can and reach your objective! nnMatch STARS to get a time bonus and make diagonal paths and longer chains to get a higher score.