Brain-Computer-Interface device (Emotiv) integration for the desktop-based Pygame game with Emotiv Cortex API and Twisted framework for asynchronous WebSocket interaction