first step to handling the click event
choosing one of two pieces