Challenge: Bouncy ball:
1.Our ball is moving down the screen, but it keeps going down forever. Add an if statement to make it reverse direction once it gets to the bottom of the screen.
2.get the ball to reverse once it hits the ceiling too, so that it keeps going down and up forever.
Nhận xét
Đăng nhận xét