Okay so I just finished up a ping pong HTML5 game I've been working on as practice, and I was thinking of integrating Bitcoin into the game so when a user wins vs. the CPU, they get a small amount of bitcoin sent to their account, or to an account created for them.

Can anyone point me to a resource to get this done?

I think I can do this with BitcoinJS but it is not available for Windows.

Not sure what I'm doing, so any help would be great!


You're going to need a fairly intense system to support something like that. You won't be able to send Bitcoins securely in your game, so you will need a server handling requests to send. Check out the Bitcoind api commands and the various libraries you can use to access Bitcoind. Node.js has an interesting and simple library.

The main trouble you are going to have is people who are trying to game your system. You will need to verify (somehow) that a player did actually beat your game. What is stopping me from sending thousands of requests, stating that I won? People will figure out the server you send the requests to quickly.

  • Thanks for that. I will likely use that Node.js library. I will try to get something setup locally as a learning experience, as that is what I'm really after, to learn how to integrate bitcoin into different projects. Again, thanks! – user2259122 Feb 3 '14 at 18:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.