psychopy.org | Reference | Downloads | Github

Need help creating match to sample task

Does anyone have the code for a simple match to sample 2AFC experiment? I am finding it really difficult to build it from scratch and it would be amazing if I could just a basic code and then modify that to suit my experiment.

Is there anything in these psychophysics teaching resources by James Ferwerda that could help?