Staying Alive is a game that teaches players how to perform CPR. The project was created for a Portuguese hospital and exhibited at Web Summit in Lisbon.
The machine first teaches players CPR techniques, then detects the pressure and speed of their "chest compressions" while they try to "save a life" to the beat of Stayin' Alive by the Bee Gees (which corresponds to the recommended BPM for CPR). The machine gives players feedback via red, green, and blue lights on the "chest" pad and images on the screen. I developed the game in Processing and it ran on a Raspberry Pi.