Bitcoin Forum

Other => Beginners & Help => Topic started by: sharpety12 on February 26, 2013, 06:29:57 PM



Title: delete me
Post by: sharpety12 on February 26, 2013, 06:29:57 PM
delete me


Title: Re: Want to make a poker client around bitcoins but want to know if it's possible
Post by: bitbook.biz on March 18, 2013, 10:58:28 PM
Hi, I have an idea for a p2p poker client where there's no rake and the client also can't be shutdown for letting americans gamble f it becomes popular like pokerstars and full tilt was. My idea is a p2p poker program where every table starts a new bitcoin address and when a player bets to the pot they make a small transaction from there bitcoin account to the one that was created for the table at the end of the hand the money in the pot is transferred to winner. So basically there would be a lot of small deposits and withdraws. Would this cost a lot of money in fees? I'm not completely sre how fee's work and I'd like to start programming this idea but would like to know if it wouldn't be worth playing poker if you have to pay lots of money in fees.

I don't think the fees would be the problem, but transactions are not instant.


Title: Re: Want to make a poker client around bitcoins but want to know if it's possible
Post by: mjc on March 19, 2013, 01:18:27 AM
There would be a risk of double spending attacks if you didn't enforce confirmations before respend (ie. next hand).  Since it takes about 10 minutes for a confirmation, it would be some seriously slow play.

You'll want to read up on bitcoin transactions: https://en.bitcoin.it/wiki/Transactions

I do have a Java based Texas Holdem server already written.  A buddy wrote the client and I wrote a J2EE Server, with separate table servers so its highly scalable.  We wrote it before the gambling ban.  He later decided to use it for non monetary gambling.  Basically you buy tokens that can never be cashed out, sort of like what is on Facebook.

You would be better off  an account where people can move funds in via Bitcoin to a local token.  What you do after that would determine if it was legal in the US or not.  If they can cash out the tokens to Bitcoin or any currency its illegal.

There are already a number sites like that though.