Relative Content

Tag Archive for pythonmultithreadingmultiprocessingturtle-graphicsonkeypress

Using 2 onkeypress-es (with a thread/process) in Python Turtle

Basically, I’m recreating the game Pong in Turtle. I’m aware there’s 1000 better languages, modules (I think it’s called interfaces), basically ways to do it but I wanted to take on this challenge.
The first problem I got is that when 1 stick moves up or down, the second can’t and vice versa.
My first thought was to fix it with a thread/process, however since I am pretty new to programming altogether I couldn’t do it.