private void checkCollisions() {
		for (Ball ball : balls) {
			if (ball.getBoundsInParent().intersects(leftPaddle.getBoundsInParent())) {
				ball.collision();
				ball.move();
				rightPaddle.computeOptimalPoint(balls);
				leftPaddle.computeOptimalPoint(balls);
				continue;
			}
			if (ball.getBoundsInParent().intersects(rightPaddle.getBoundsInParent())) {
				ball.collision();
				ball.move();
				rightPaddle.computeOptimalPoint(balls);
				leftPaddle.computeOptimalPoint(balls);
				continue;
			}
			if (ball.getBoundsInParent().getMaxX() > rightPaddle.getBoundsInParent().getMinX()) {
				gameEnd("Right");
			//	System.out.println(rightPaddle.expectedMove());
				parallel.stop();
			} else if (ball.getBoundsInParent().getMinX() < leftPaddle.getBoundsInParent().getMaxX()) {
				gameEnd("Left");
			//	System.out.println(leftPaddle.expectedMove());
				parallel.stop();
			}
		}
		return;
	}