A Go implementation of a behavioral experiment designed to test mental logic and inference.
By default, the experiment starts in 1280x1024 FULLSCREEN mode.
go run examples/card_game/main.go
To run in a 1280x1024 window:
go run examples/card_game/main.go -d
-d: Enable Development mode (windowed display).--scaling <factor>: Scaling factor for stimuli and layout (default: 1.0).-F: Force Fullscreen (default behavior).Three cards are going to be used throughout the experiment:
Note that only the queen card has a red back while the two ace cards have blue backs.
The experiment is a series of trials where the three cards are presented in a row. First their backs are presented, then one of the three cards is unmasked a second later.
Your task is to identify the middle card as quickly as possible, when possible. You will indicate your response by pressing a key:
Now, rest your fingers on the keys ‘Q’, ‘S’, ‘D’ and ‘N’.
When you are ready, press the SPACE BAR to start.
Results are saved as .xpd files in the data/ directory, logging trial conditions, response accuracy, and reaction times.