Hi,

I'm busy with this tutorial
http://www.openbookproject.net/thinkCSpy/index.html
I need some feedback and help to be able to learn Python.

For instance, now I'm working on chapter 8, 8.13 exercise 1, 2 and 3. Code
become pretty complex for me there:
http://www.openbookproject.net/thinkCSpy/ch08.html

Exercise 1, I tried to solve with:

mitt = Box((780, 300), mitt_x, mitt_y, filled=True, thickness=1)

I added 780 and 300 as center for the paddle, is that right?

Exercise 2: I have this code now:
http://paste.pocoo.org/show/233057/

What do you think of the code? Is it right? Also within the context of the
pong code?

Next step will be to let the ball bounce back and to replace the distance
function with the new hit fuction in the pong code. But I'm not sure how and
where to place the call to the hit function in pong code... Please give some
feedback and help.

Thanks in advance,

Dirk
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to