can any one help on building a logic to check if the xpos and ypos of two cars is same so they must crash, for my oop project on car racing. thankyou ....