Thanks for playing - there's a hidden counter that you need to get to "1". Essentially if you wait until the last 2 seconds and start mashing it guarantees a win :D
Congrats on getting the win without that exploit though! That's a pro button masher right there.