The finished product

rect collision with ball, rect with floor, score you win added