how to apply pong game python script into touch designer

Hi everyone, I am new to touch designer. i have figured out python script for pong game which i wanna apply in touch designer using kinect to display on wall. But i am facing difficulty in applying in touch designer as its not working. can you help me in figuring it out. Thank you.

Compared to the native Touch ops, Python is a fairly slow to run. Instead, you’d be better off taking a look at how TouchDesigner conceptualizes the same programming ideas and then build a touch specific game.