Input not recognised from touchpad
问题 I am trying to extend this Roll-a-Ball tutorial to include a timer and allow the user to try again by tapping the touchpad whether they win or run out of time. This works as expected if the time runs out ( // case A below) but not if the player wins ( // case B below), where the tap does not seem to be recognised. The end message appears in both cases so it is definitely reaching those parts but I'm guessing that the program is not reaching the section with the comment // reset on tap but am