Bitcoin Forum
May 05, 2024, 07:53:22 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: What is a good, solid way to make a betting game provably fair?  (Read 942 times)
SlickTheNick (OP)
Full Member
***
Offline Offline

Activity: 220
Merit: 100


View Profile
February 01, 2013, 03:48:49 PM
 #1

I see serveral BTC gambling sites are "provably fair". What is a good method for making a provably fair/trustworthy system for a simple betting game?

Looking for a way to get some bitcoins for free? Check out http://earnfreebitcoins.com !
Get easy bitcoins at  https://coincontroller.com?r=eaef398b5 !
1714895602
Hero Member
*
Offline Offline

Posts: 1714895602

View Profile Personal Message (Offline)

Ignore
1714895602
Reply with quote  #2

1714895602
Report to moderator
In order to achieve higher forum ranks, you need both activity points and merit points.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714895602
Hero Member
*
Offline Offline

Posts: 1714895602

View Profile Personal Message (Offline)

Ignore
1714895602
Reply with quote  #2

1714895602
Report to moderator
1714895602
Hero Member
*
Offline Offline

Posts: 1714895602

View Profile Personal Message (Offline)

Ignore
1714895602
Reply with quote  #2

1714895602
Report to moderator
markm
Legendary
*
Offline Offline

Activity: 2940
Merit: 1090



View Profile WWW
February 01, 2013, 06:42:37 PM
 #2

The way they do it seems to be working fine, do you see any problems with it?

-MarkM-

Browser-launched Crossfire client now online (select CrossCiv server for Galactic  Milieu)
Free website hosting with PHP, MySQL etc: http://hosting.knotwork.com/
FreeMoney
Legendary
*
Offline Offline

Activity: 1246
Merit: 1014


Strength in numbers


View Profile WWW
February 02, 2013, 12:30:48 AM
 #3

MyriadCoins uses a salt, timestamp and hash to commit to our guess when the player arrives, lets the player enter their own guess and a win or loss is determined by the distance between the guesses.

Play Bitcoin Poker at sealswithclubs.eu. We're active and open to everyone.
SlickTheNick (OP)
Full Member
***
Offline Offline

Activity: 220
Merit: 100


View Profile
February 02, 2013, 02:26:14 AM
 #4

The way they do it seems to be working fine, do you see any problems with it?

-MarkM-

No, im just mostly interested in hearing peoples thoughts/ideas.

Quote
MyriadCoins uses a salt, timestamp and hash to commit to our guess when the player arrives, lets the player enter their own guess and a win or loss is determined by the distance between the guesses.

Thats cool, is that what the hash displayed at the bottom of the page is?

Looking for a way to get some bitcoins for free? Check out http://earnfreebitcoins.com !
Get easy bitcoins at  https://coincontroller.com?r=eaef398b5 !
PrintCoins
Hero Member
*****
Offline Offline

Activity: 533
Merit: 501


View Profile
February 02, 2013, 03:59:55 AM
 #5

When you "roll" you could use the current value of the s&p, an image of a tree in your back yard blowing in the wind or the static in the radio as a seed for random function and present it as something indepentently verifyable. Just be sure you have the most up to date seed otherwise your users might scoop you.

paybitcoin
Member
**
Offline Offline

Activity: 85
Merit: 10


1h79nc


View Profile WWW
February 02, 2013, 05:56:13 AM
 #6

When you "roll" you could use the current value of the s&p, an image of a tree in your back yard blowing in the wind or the static in the radio as a seed for random function and present it as something indepentently verifyable. Just be sure you have the most up to date seed otherwise your users might scoop you.
Depending on how you implement it, a tree blowing in the wind or radio static is not necessarily independently verifiable, since you'd have no way of knowing whether the site operator is reusing tree images or creating their own special winning static.

Basically, start off with some random data, hash it, and publish those hashes ahead of time in public (like the blockchain, or in the page itself like MyriadCoins.) Then use the random data and bet data (optional) as inputs to a cryptographically-strong hash during the game to get a randomly distributed output. Release the random data after some period of time after the game, so users can verify it.

The strength of this comes from the strength of the hash functions used (very good assuming lots of entropy in the random data) and the security of the random data up to the point where it is used (depends on your development skills, and hax0rs.)

Also, if you haven't yet, read up on how SatoshiDice implements the verification - it is a good writeup.

If you are talking about other games, like proving a sports bet was paid out fairly, that's a whole other topic...
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!