attach click handler to one chess piece