I implemented the gambling task/game used in the Human Connectome Project with the psychopy toolbox.
In this game, subjects are asked to guess the card value (ranging from 1-9) for 10 times when they see a question mark (card value > 5 or < 5) to win money, their total money will be shown at the end.
More instructions can be seen when running the code.
Website designed by Ali Malik. Logo by Sayaka Funata.