There are plenty of ways you can wake yourself up using your phone, from your smartphone's standard alarm clock to third-party apps that give you some sort of creative challenge before you're allowed to flip the alarm off, like a math problem or word challenge.

Microsoft recently unveiled its own version of a "you have to work to shut me off" alarm clock app for Android, Mimicker Alarm, and it's a real killjoy for those who love to sleep.

It does exactly what its name implies: You have to complete challenges in order to cut the alarm, up to and including making a face into your phone's camera based on whatever the app prompts you to do.

"Mimicker Alarm, a Microsoft Garage Project, is a free morning alarm clock app that helps you wake up and stay up by playing a simple game, called a 'Mimic'. To dismiss your alarm, you must mimic the action given. We might ask you to snap a selfie, speak a phrase, or even get out of bed! The Mimics require you to be alert, smart, and use you and your surroundings so be ready to move," reads Microsoft's description.

"Watch out – if you don't finish the game in time, we'll assume you've fallen back asleep and your alarm will start ringing again. Once you complete the Mimic, share your personalized results with your friends and show how you beat the clock."

If you're a developer who is interested in seeing just how Microsoft came up with its app, including how it integrated various Project Oxford APIs to cover elements like face detection and recognition, speech recognition, and emotion recognition, Microsoft open-sourced all the code for Mimic—available now on Github. As Microsoft notes, you can even create your own mimics if you want to try and get a bit more creative than Microsoft's suggestions.

Though the Mimic Alarm "works best" when you're online, the app will also function without it—don't worry, you won't sleep through sunrise on your next camping trip if your smartphone has a crappy connection.