Inspiration
We were inspired by the Muse stress-detecting headband and wanted to make a puzzle game that took the user's stress level into account. Since the Muse wasn't available we decided to use a webcam and Microsoft's Cognitive Services APIs.
What it does
The game gives the user a series of mathematical puzzles to be solved against the clock. If they look stressed, angry or upset, the clock ticks faster.
As if that wasn't bad enough, the keyboard is banned: numbers must be entered using a Myo armband, as if you're turning a physical dial.
Note: setting up the Myo can be tricky, so we aren't making the game available online. Feel free to come on over to try it out!
How we built it
The game is web based and written in JavaScript. To communicate with the emotion API we have a backend written in Go. We use WebSockets to communicate with a Myo on the user's machine via MyoConnect.
Challenges we ran into
CSS is never much fun to work with, and we're using some cutting-edge JS features that are tricky to make work.
Accomplishments that we're proud of
It works! It's pretty fun, too.
What we learned
Working with technologies we're not too familiar with is tricky, but can be done with impressive results. The Emotion API was really easy to use and worked well for us.
What's next for Keep Smiling!
Deploy a public version, which doesn't require a Myo to use.
Built With
- bootstrap
- emotion-api
- go
- javascript
- jquery
- myo
Log in or sign up for Devpost to join the conversation.