Mind-controlled Dino game

I have been interested in brain computer interfaces (BCI) for a few years and have been experimenting with building web interfaces controlled by thoughts or mental states (calm, focus).

This quick prototype uses the Neurosity Notion brain sensor and Node.js with RobotJS to control Chrome's Dino game.

After training a particular thought - in this case, the thought of tapping my right foot - the brain sensor is able to detect the repeated pattern in the data collected from my brain activity. Using this thought recognition, I am triggering a keybaord command to make the Dino jump and avoid obstacles.