Post
Topic
Board Beginners & Help
Topic OP
Dev question about accepting/sending payments for game
by
toonevdb
on 14/08/2012, 12:24:06 UTC
Hello,

I'm planning on developing a small gambling game for bitcoin. I'm thinking of a wheel of fortune kinda game where the user has to select a multiplier and if the wheel stops at that multiplier the user has won his original bet times the multiplier.

Now I want to make the app as secure and easy to use as possible and would like to hear some advice if possible. I have 2 possible implementations in mind:

1. User provides his payout bitcoin address. Then gets a newly created address assigned and can deposit to that address. When deposit is confirmed, user can then bet multiple times until the deposited amount is spend. Each winning bet produces a payout to his bitcoin address. If the deposited amount isn't spend in 4 hours, the rest gets sent to the payout address.

2. User provides his bitcoin address and chosen bet amount. He then sends the amount from that address to app's bitcoin address. When the transaction has one confirmation, the browser updates the page and allows user to turn the wheel. (probably to slow and inconvenient because of wait, not sure..)

Any advice or opinions would be appreciated
Also do you think people would play the game?