On Sat, 12 Dec 2015 10:19 am, phamton...@gmail.com wrote:

> Can anyone direct me in the direction where to start the code for the
> randomized of the  ball  to start.

[...]
> move_ball(-10, 7, 0)


That starts the ball moving, with x-speed of -10 and y-speed of 7. Instead
use something similar to this:


import random
xspeed = random.randint(-20, 20)
yspeed = random.randint(-10, 10)

move_ball(xspeed, yspeed, 0)




-- 
Steven

-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to