I just don't get why this thing has a QR code scanner ...
Is it so that the machine doesn't need an internet connection?
You log in on your phone, scan the QR code on the game with your phone. Your phone uploads the data to the server. The machine checks the server and sees that you logged in and want to play. When your game finishes, the game uploads the data about the game back to the server, and it's associated with your account. Your phone checks the server and you can look at and interact with your game results.
That's how I would expect it to work.