1
Let's say I wanted to host a site in which
- users create their own accounts
- they deposit bitcoins in said accounts
- a commission of, say, 0.05% is kept of all the bitcoins that are deposited in the site
- users play a competitive game with each other (e.g. chess, or others for more players) for a bet
- the winner gets the full bet
- each user can withdraw their bitcoins any time they want
This, I figure, would be quite hard to get right due to all of the different aspects involved, such as user trust, security and technicalities.
My questions are:
How do current betting sites handle the deposits/withdrawals of bitcoins, and how do they keep a commission out of it?
Any small site could rely on trust and do this in a manual fashion, but I'd assume any professional site does not handle this manually. So, is there an existing library (I'll use Node.js, in case it matters) or third-party service for this? And should the bitcoins be stored in a conventional offline wallet(s)?
And last, is there a way to "prove" that the games are fair in order to establish trust? Are there any legal requirements regarding to this?
Obtaining the legal permits for operating a gambling site sounds more expensive than actually developing such a site. – CodesInChaos – 2014-01-12T21:07:46.310
1The whole idea is weird too. Sounds like an exercise in sandbagging. The stronger player will win on average, so games will only happen if one of the players is misinformed about the other player's strength. For many games cheating is possible (e.g. for chess, computers are much stronger than humans) which causes further difficulties. – CodesInChaos – 2014-01-12T21:10:11.210
@CodesInChaos just like in betting games: twice the strength, double (or square) the payout. Think of it as probabilities. You could risk playing stronger players (say they could win you 75% of games) just to be paid more. – kaoD – 2014-01-12T21:12:46.633
@kaoD That doesn't change the main issue: Players who don't try to misrepresent their strength will pay to players who do. It's a competition of who cheats hardest, not who plays best. – CodesInChaos – 2014-01-12T21:21:28.210
@CodesInChaos what do you mean? To misrepresent your strength you have to lose games, i.e. pay. If it can be balanced out (which you might be suggesting it can't?) the optimal strategy is to play players near your level and play legitimately. – kaoD – 2014-01-12T21:31:24.870
@CodesInChaos Regarding obtaining legal permits for operating a gambling site, as far as I know you don't need any permits. Bitcoin is not a FIAT money, there are no gambling regulations on it what so ever, thus no gambling license is required (assuming the site doesn't accept FIAT money). – User2344452 – 2014-01-12T23:10:42.673
1@BabyPuncher I don't think it's that easy. In my country there are gambling regulations regardless of the medium of exchange. As long as it has value, it's taxable. A country might even forbid gambling in non-fiat to avoid tax evasion. – kaoD – 2014-01-13T02:05:13.503
I guess it could work as long as users are forced to go thru a series of matches vs. computer to assess their strength, you use a kind of handicap, either monetary (so a pro vs. a noobie has the noobie risking more) or as is done in shogi (Japanese chess) where the stronger player has some of their pieces removed. Of course, strength assessment should be updated after each game (a la Yahoo Games) and the initial assessment process must be long and tedious enough to disuade creating sock puppets for easy wins. – Joe Pineda – 2014-01-13T05:51:45.707
I only used chess as an example. But yes, it's not a trivial task to assess the players' ability to make it fair play. The whole point of making it a competitive game is to disassociate the site from making payments (and thus, risk) and only take a comission. @JoePineda that's a good idea. Matching players with a similar percentage of "won" games could be an alternative (faking that would imply having risked money and so, it'd naturally disuade malicious users to do it). – Robert – 2014-01-13T06:12:49.733
Aditionally, the "mechanics" of the game would have to be NP-hard (such as Tetris') so that there is no shortcut or smart algorithm that will solve them swiftly. Making it impossible to cheat. – Robert – 2014-01-13T06:18:05.957
The other idea just struck me is hosting a site to play a virtual version of a trading card game, like Yugi-oh or Magic-the-Gathering. Either you get a license for those or you design your own cards, with a game-play similar to those. You could then let the players play for free, charging a small fee for users exchanging cards or sell them directly some new ones your designers have created. In these games there's a lot of random (easier for newbies), and if you're willing to pay enough you can get powerful cards. – Joe Pineda – 2014-01-13T12:54:18.390