This article applies to:
This experiment demonstrates how to use SlideButtons to create a memory matching game.
In this experiment, 8 SlideButtons exist on the Stimulus Slide that are used to house "cards". Participants are told to find the matching cards among the 8 presented. A 9th SlideButton is used to show the status of the matches (i.e., MATCH, NO MATCH, Flip a second card). The experiment is over when all card have been matched.
The images for the cards in the experiment are found in the <ProgramFiles>\PST\E-Prime 3.0\Resources\Cards folder.
The experiment uses a series of Script Task Events that turn the cards over after 2000 ms (i.e., FlipButtonsFaceDown), check if the SlideButtons match (i.e., OnButtonCheckedBegin), and either hides the SlideButtons if they match or flips them back over if they do not match (i.e., OnButtonCheckedEnd). The Script Task Events are configured on the Stimulus Slide.
NOTE: This is a template experiment. Advanced logging can be implemented where the commented script indicates.