Improved inputDown piece selection and match determination