You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With GDB I can see that waitForClick() is always reached, but if the mouse was moving at the time waitForClick gets called, a click is processed even with no click.
---------- Forwarded message ----------
After I noticed a bug in a student's program where if they moved the mouse as the ball was hitting the bottom edge, the game wouldn't wait for a click (event though he requested it to) and the ball would reset its location and keep moving (the amount of lives was still correct).
I tried this using the staff's implementation, and the bug was there was well.
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: