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.

The scripting integration of Python in TouchDesigner is excellent, but importing a game won’t transition smoothly or directly. Instead, you’ll need to learn some of basics of this environment in order to port your game over.