Dimensional Change Card Sort (DCCS; Zelazo, 2006) code

Hi all. I am looking to run the Dimensional Change Card Sort Task (DCCS; a measure of task-switching) with psychopy. I am wondering if anyone has the code for this task to be run in Psychopy. I looked on Pavlovia and while there are other tasks of executive function (stroop, OSPAN…), there does not seem to be the DCCS.

I would really appreciate it as this is for a study to examine EEG coherence in relation to executive function improvement as a result of playing a game-based training targeting task-switching.

Thank you,
Maya Rose