Experiment(){
Context(){
AssignmentGroup(){
SubjectCode = "pxlab";
ExperimentName = "Luchins\' Water Jugs Problem";
}
Session(){
Instruction(){
Text = ["Water Jugs Problem", " ", "Your task is to get 4 liters in the first jug and 4 liters in the second jug.", "Use the mouse pointer to pour one jug\'s content into a target jug.", " ", "Press any key to start."];
}
}
SessionEnd(){
SessionEndMessage(){
}
}
Trial( WaterJugs.CurrentMove, WaterJugs.ResponseTime){
WaterJugs(){
CurrentState = -1;
Width = 600;
Height = 500;
GoalState = [4, 4, -1];
}
}
// Command line assignments
AssignmentGroup();
}
Procedure(){
Session(){
Block(){
Trial( ?, ?);
}
}
}
}