We live in an augmented world. With VR apps immersing the human in a fully virtual world, we thought, why not bring the players real live bio-signals into the game. The heart offers rich data to add to game play. Zombies smell fear. Imagine having to save yourself from a mounting attack by staying cool and collected.
We already had experience building streaming brain APIs with our work on Cloudbrain. Exposing heart data seemed fun and doable during the time allowed for a hackathon.
What it does
heart engine gives game developers low and high level heart metrics in an event-based api. These include beat, beats-per-minute, nervous (or not), and dead :P.
How we built it
We streamed data using Cloudbrain and wrote several heart related analysis modules to process the streams of data. We also built an API doc with live demos of each of the endpoints.
Challenges we ran into
Peak detection is fairly difficult on a hackathon timeline. Realtime charting in the API doc also proved challenging, so we weren't able to demo a raw endpoint. .AI domain names take foooorever to get processed and issued.
Accomplishments that we're proud of
It works! It can certainly be better and include more endpoints, but it works, and we're really proud of that.
What's next for heart engine (heartengine.ai)
Building out more endpoints, particularly higher level endpoints that make game integration easy. Add authentication tokens to be able to roll this out to devs in a production environment. Building libraries for major game platforms to make integration event easier.