Pages:
Author

Topic: Want to know about Provably fair... - page 2. (Read 2434 times)

legendary
Activity: 2282
Merit: 1204
The revolution will be digital
July 25, 2014, 01:23:27 PM
#23
Gambling sucks, you will lose in the long run due to house edge.

But thats the thing with gambling, u gotta know when to stop.

Even when there is no house edge, you will lose to the house in the long run since you have a lot less capital than the house (gambler's ruin). Cheesy

How come having less capital confirm loss for an user ? Huh
hero member
Activity: 568
Merit: 500
July 25, 2014, 01:10:07 PM
#22
Gambling sucks, you will lose in the long run due to house edge.

But thats the thing with gambling, u gotta know when to stop.

Even when there is no house edge, you will lose to the house in the long run since you have a lot less capital than the house (gambler's ruin). Cheesy
member
Activity: 70
Merit: 10
July 24, 2014, 01:57:05 PM
#21
Gambling sucks, you will lose in the long run due to house edge.

But thats the thing with gambling, u gotta know when to stop.
newbie
Activity: 54
Merit: 0
July 24, 2014, 01:53:45 PM
#20
There are possible issues with that probably fair stuff, see this topic

https://bitcointalksearch.org/topic/edu-provably-fair-and-how-it-can-be-exploited-by-casino-owners-against-you-283547

And this article


for more info(article cited in the topic):

http://www.reddit.com/r/Bitcoin/comments/1frm4x/provably_fair_by_bitzino_not_provable_with/


There are also topics questioning if some sites are provably fair or not, you might want to search that subforum and see by yourself.

Damn just went to the other thread.

Thanks for exposing that. Provably fair can be exploited..
hero member
Activity: 616
Merit: 500
July 24, 2014, 01:14:47 PM
#19
There are possible issues with that probably fair stuff, see this topic

https://bitcointalksearch.org/topic/edu-provably-fair-and-how-it-can-be-exploited-by-casino-owners-against-you-283547

And this article


for more info(article cited in the topic):

http://www.reddit.com/r/Bitcoin/comments/1frm4x/provably_fair_by_bitzino_not_provable_with/


There are also topics questioning if some sites are provably fair or not, you might want to search that subforum and see by yourself.
sr. member
Activity: 644
Merit: 260
July 24, 2014, 12:23:40 PM
#18
Gambling sucks, you will lose in the long run due to house edge.

Yes, even if you play in provably fair websites.
There are many betting methods to try, but no one can ensure a long term win.
You are playing against the site owners, not against other players, therefore you are fated to lose.
hero member
Activity: 561
Merit: 500
July 24, 2014, 10:19:27 AM
#17
cant the casino just go back to learn your betting style?

If you change the client seed randomly from to time, the house can't get advantage (other than the house edge) even if it knows your betting style.
sr. member
Activity: 420
Merit: 250
July 24, 2014, 09:15:50 AM
#16
Gambling sucks, you will lose in the long run due to house edge.
legendary
Activity: 1456
Merit: 1000
July 24, 2014, 09:10:01 AM
#15
Keep in mind even "fair" house comes out ahead.  The place you gamble at always will win over 50 percent overtime, if not it will go out of business.  You are betting on being one of the "lucky" ones.
hero member
Activity: 784
Merit: 500
July 24, 2014, 07:52:26 AM
#14
I see some gambling sites mention that they are provably fair. They provide some seed and ask to check some hash or whatever. My question is, can this fairness really be checked from outside ? Where are they twisting to make sure the house's win ?


Yes, it can.


I can explain it on simple example, (just the principle)

BTCRock - it's game where you have a grid 20x20 and you have 6 attempts to find gold vein.


Their proof is that immediately after solving captcha you can see hash of "gold vein coordinates ".





After you made your 6 tries, a result is shown to you:


 



Proof is that from begining the coordinates  gold vein was [11,9], and was not moved if you luckily hit it ( it would change the hash)

You can check it using: http://www.xorbin.com/tools/sha256-hash-calculator

1 - enter: 65879c50984f5b9ede009960e6efa3c6|[11,9]    (proof of location, shown after game end)
2 - hash it (using sha2586)
3 - you'll get: c0344a8d187371c671d9e16cb27190a74caef8fe32ab66be7287ed050fca2b12       (this is what you know from begining)

tip: for clarity try to change one coordinate and hash it again, will see you got completely different hash.


P.S. This's only principle, and can be used in various way. You should check description on particular site.

That is an awesome explanation. I wonder how the house make sure that they win in the long term ? Do they really gamble with the user choice ?

They design the game so that in a fair, unmodified implementation under the rules, they get a house edge. A basic example would be a game that pays 2x a bet with provably fair "rolling", but you win 48% of the time. For instance, it picks a number between 1 and 100, and you win if it is less than or equal to 48.
legendary
Activity: 2282
Merit: 1204
The revolution will be digital
July 24, 2014, 05:30:47 AM
#13
I see some gambling sites mention that they are provably fair. They provide some seed and ask to check some hash or whatever. My question is, can this fairness really be checked from outside ? Where are they twisting to make sure the house's win ?


Yes, it can.


I can explain it on simple example, (just the principle)

BTCRock - it's game where you have a grid 20x20 and you have 6 attempts to find gold vein.


Their proof is that immediately after solving captcha you can see hash of "gold vein coordinates ".





After you made your 6 tries, a result is shown to you:


 



Proof is that from begining the coordinates  gold vein was [11,9], and was not moved if you luckily hit it ( it would change the hash)

You can check it using: http://www.xorbin.com/tools/sha256-hash-calculator

1 - enter: 65879c50984f5b9ede009960e6efa3c6|[11,9]    (proof of location, shown after game end)
2 - hash it (using sha2586)
3 - you'll get: c0344a8d187371c671d9e16cb27190a74caef8fe32ab66be7287ed050fca2b12       (this is what you know from begining)

tip: for clarity try to change one coordinate and hash it again, will see you got completely different hash.


P.S. This's only principle, and can be used in various way. You should check description on particular site.

That is an awesome explanation. I wonder how the house make sure that they win in the long term ? Do they really gamble with the user choice ?
full member
Activity: 343
Merit: 100
July 24, 2014, 12:37:32 AM
#12
The odd of winning is already on house side. Pointless to cheat and risk damaging the reputation.
newbie
Activity: 42
Merit: 0
July 23, 2014, 11:20:22 PM
#11
cant the casino just go back to learn your betting style?
full member
Activity: 151
Merit: 100
July 23, 2014, 09:55:29 PM
#10
I thought a seed can be manipulated..
not when half of the seed is secret and bit revealed until the next day
hero member
Activity: 784
Merit: 500
July 23, 2014, 08:08:50 PM
#9
I thought a seed can be manipulated..

Yes, but each side keeps a secret from the other side, so in the end all you can do is change the outcome without knowing what you change it to.
legendary
Activity: 1456
Merit: 1002
July 23, 2014, 07:30:09 PM
#8
I thought a seed can be manipulated..
full member
Activity: 196
Merit: 100
July 23, 2014, 07:25:35 PM
#7
I see some gambling sites mention that they are provably fair. They provide some seed and ask to check some hash or whatever. My question is, can this fairness really be checked from outside ? Where are they twisting to make sure the house's win ?


Yes, it can.


I can explain it on simple example, (just the principle)

BTCRock - it's game where you have a grid 20x20 and you have 6 attempts to find gold vein.


Their proof is that immediately after solving captcha you can see hash of "gold vein coordinates ".





After you made your 6 tries, a result is shown to you:


 



Proof is that from begining the coordinates  gold vein was [11,9], and was not moved if you luckily hit it ( it would change the hash)

You can check it using: http://www.xorbin.com/tools/sha256-hash-calculator

1 - enter: 65879c50984f5b9ede009960e6efa3c6|[11,9]    (proof of location, shown after game end)
2 - hash it (using sha2586)
3 - you'll get: c0344a8d187371c671d9e16cb27190a74caef8fe32ab66be7287ed050fca2b12       (this is what you know from begining)

tip: for clarity try to change one coordinate and hash it again, will see you got completely different hash.


P.S. This's only principle, and can be used in various way. You should check description on particular site.

Thanks wusolini, you explained very well, I also always thought how probably fair work.
full member
Activity: 147
Merit: 100
www.secondstrade.com - 190% return Binary option
July 23, 2014, 06:01:37 PM
#6
These sites tend to use slightly counterintuitive terminology. Provably random? Yes. They can't pick results in advance; nor can you. Provably fair? No. They still get a bit of an edge to keep a profit, although they can be verified to not be taking more than their official rules say.
I would say that they are fair in regard to the fact that they disclose the odds of winning ahead of time, and the actual odds are what they say they are.
hero member
Activity: 588
Merit: 500
Get ready for PrimeDice Sig Campaign!
July 23, 2014, 05:51:07 PM
#5
With a bit of php knowledge you can easily make your own 5 line script checking any websites fairness.
Look at my code for generating random numbers (pretty similar to other websites)
Code:
$hash = hash_hmac('sha512','TXID:BETS', 'SECRETKEY'); 
$firstfive = hexdec(substr($hash, 0, 5));
if($firstfive > 1000000) {
$firstfive = hexdec(substr($hash, 6,5));
}
echo $firstfive/10000;
I take the TXID of the bet, the amount of bets, and then the daily secret key which the hash of the secret key is stored for people to check the next day. If the hash of the secret key matches the one shown on the list, that means the secret key was indeed used. These pieces of data are hashed together in sha512 using hmac. I take the first 5 digits of that hash and convert it from hexadecimal to decimal. This gives a number that 98% of the time is under 1000000 (if it isnt I take the next 5 digits), and then divide that number by 10000 and I get a two digit number out of a hundred with some decimal places. The next day the user can verify their bet by pasting in their TXID, their amount of bets, and then the secret key that is released the next day, and then run it through the script. If the echod number matches the number that was used on the gambling site, I was indeed telling the truth and their bet was fairly made. Every website explains their own method of fair betting.
hero member
Activity: 784
Merit: 500
July 23, 2014, 05:48:00 PM
#4
These sites tend to use slightly counterintuitive terminology. Provably random? Yes. They can't pick results in advance; nor can you. Provably fair? No. They still get a bit of an edge to keep a profit, although they can be verified to not be taking more than their official rules say.
Pages:
Jump to: