0
Answer

multithreading pong

Ask a question
schmintan

schmintan

16y
2.5k
1
i havnt done any dev in years ( went into Databases after college) and am brushing up a bit. found an old version of pong i created using a timer to regulate it ( each time the timer ticked the ball was moved).

I want to multithread this, for no other reason other than learning a bit about threading.

I will create a ball object and a paddle object.
Each will store its own co-ordinates as properties, which the forum will be able to access and draw. I have no exirience with threading though so its difficult to think of a solution with threading in mind. can anyone help me along this path?