The ball will bounce back when touching the walls and if space is pressed, the ball will change color.