Indeed
Probably you want to do
Ball
class does not have hit_paddle()
method. Only Paddle
class has it.Probably you want to do
if self.paddle.hit_paddle(pos):Note that you should not compare boolean to True or False, just use that hit_paddle() already returns bool
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs