Psychopy Game with AI opponent

Hello all! Open ended question. Has anyone ever used psychopy to write a game that has an ai-type opponent?

There are various examples online of people making paired down chess and poker with python where you play a computer. Has anyone ever tried integrating something like this into psychopy?