The ball goes to the left and right while the gamers try to protect the ball from hitting the walls on the left and right. If the ball hits the green wall, score_red increases. Otherwise, if the ball touches the red wall, score_green increases. The red paddle can be controlled by up and down arrow keys. The mouse controls the green paddle after the green flag is clicked.