This program is an implementation of Hedden and Zhang's matrix game experiment (2002). It was used for my research project: "Children's development of reasoning about other people's minds". In this experiment, a test subject and a computer opponent move a car across a track. Each player tries to move the car in such a way that his own payoffs are maximized. To play the game successfully, a player needs to predict his opponent's actions. The game can be used to test a subject's application of first and second order theory of mind.
The program asks for a prediction: "What do you think YELLOW will do if the car reaches the yellow intersection? Click on one of the arrows."
The program asks for an action: "In which direction do you want to go? Click on one of the arrows."