How would you give away free bitcoins by letting the user just scan a qr code? I'm currently trying to build a game where if the user reaches a certain amount of points they get rewarded with btc at the end of the game. But the thing is I would like the QR code to show up on the screen and the user would just have to scan it and they would receive the btc. Is there an application that can do such a thing? I'm guessing it would show the private key of the qr code. But is there a better method of doing this?
You would have to do this in a couple of steps, the first of which doesn't involve Bitcoin at all.


User scans QR code using an app you provide.
Your provided app sends a request to your server. This request contains something that identifies the user (say, the user's Bitcoin address).
Your server sends Bitcoin to the user's address.


Having said that, if you already have the user's Bitcoin address, then you should consider skipping the QR code entirely and proceed directly to step 3.