Gambling Interface for Error Related Potential Detection
It basically collects EEG data by using subject's response to gambling game which has two cards (25 and 100). He/She may win or lose based on his/her choices and it sends a trigger value which enables us to observe error related negativity.
You can find the implementation details in BCI-Gambling-Interface/deneme1/Form1.cs