BREAKOUT Project - Help with collision detection

please try to redo
paddle and brick collision without

rectMode(CENTER);

and remember then the paddle is touched by ball at px … px + pw // py - ball_r
and the bricks at bx … bx + bw // by+bh + ball_r