Fail coding experiment builder

OS (e.g. Win10): Windows 10
PsychoPy version (e.g. 1.84.x): Standalone PsychoPy 2021.2.3 using Python 3.6
Standard Standalone? (y/n) If not then what?: Yes
What are you trying to achieve?: I am new to this. I am trying to build an experiment in the builder so I can then run it in Pavlovia.
The task is the game “Tower of Hanoi”. It is a task in which there are disks of different sizes that the participant has to move from column 1 to column 3 in order from the largest to the smallest size.
The aim of the game is to use the three columns to sort the last column from largest to smallest (pyramid).

What did you try to make it work?: I started trying different imported scripts I’ve found, but I don’t know how to make it work.

What specifically went wrong when you tried that?:

File “C:\Users\User\Downloads\untitledJavi.py”, line 54
if (c0<0 data-blogger-escaped-c0=="" data-blogger-escaped-or=="">2):
^
IndentationError: unexpected indent

Experiment ended.

Line 54 seems to have three conditional statements within a single if statement with no connecting words, ie and or or.

1 Like