Brick breaker game help please

I need help making one of those birck braker games >.< How do you make the ball bounce of the walls and bricks? Thanks ^^ (please no links to tutorials just explain please)