Can someone tell me what is wrong with this
code?
Python pong game using graphics.py
When the ball moves the paddles don't move and when the
paddles move the ball doesn't move.
from graphics import *
import time, random
def racket1_up(racket1):
racket1.move(0,20)
def racket1_down(racket1):
racket1.move(0,-20)
def racket2_up(racket2):
racket2.move(0,20)
def racket2_down(racket2):
racket2.move(0,-20)
def bounceInBox(shape, dx, dy, xLow, xHigh, yLow, yHigh):
delay = .005
for i in range(600):
shape.move(dx,
dy)
center =
shape.getCenter()
x =
center.getX()
y =
center.getY()
if x...