Pages:
Author

Topic: Guess the Card Game - provably fair and new better odds (Read 1749 times)

full member
Activity: 224
Merit: 100
Hmmm the lack of any bids and responses now makes me wonder if I should bother with the guess the card value and guess the exact card modes?  Guess I could look into advertising more...hmmm
full member
Activity: 224
Merit: 100
So any new suggestions?
legendary
Activity: 1484
Merit: 1003
Still wild and free
Oh and please refrain from negative in no way helping feedback.  I have shown I respond to positive feedback so why even bother doing that?

My message was indeed rather negative only, sorry. I do like your idea, anything different from existing concepts is very valuable. Let's conquer this dice country!
full member
Activity: 224
Merit: 100
Oh and please refrain from negative in no way helping feedback.  I have shown I respond to positive feedback so why even bother doing that?
full member
Activity: 224
Merit: 100
I don't get how you think a bitcoin gambling website can succeed without being provably fair. But apparently you don't even understand the concept of provable fairness, so I shouldn't be surprised...  Roll Eyes

Maybe a slightly deeper research would have been beneficial to your project?


-erased retort here-

Um pretty sure I've implemented it as said now as my key(seed whatever you wanna call it) is published in hash form and tomorrow will be available in open view for verification and the other part is the tx id which I can't know.  so key+txid = passed to function I published on my site = card drawn for bet.  So nothing is hidden same as your site :-)
legendary
Activity: 1484
Merit: 1003
Still wild and free
I don't get how you think a bitcoin gambling website can succeed without being provably fair. But apparently you don't even understand the concept of provable fairness, so I shouldn't be surprised...  Roll Eyes

Maybe a slightly deeper research would have been beneficial to your project?
full member
Activity: 224
Merit: 100
Ok so I see what your saying since the rand isn't known till after it could be biased which is doubtful but ok. 
So Now you will see sha256 of secret for today posted on home with yesterdays secret(I went with 45 characters don't ask me why that number :-)
so secret+txid though my rand class(posted on about page) will give same card as was drawn during your bid.

That and the fact I've had like 4 bets and 2 won should show me as trustworthy even if it doesn't quite meet provably fair...lol.
Frz
newbie
Activity: 13
Merit: 0
Ok,  now its provable fair as I use my random plus the transaction ID as the seed.  I wont know the transaction ID and you wont know the rand until after so fair to both sides...hehe
This is NOT provably fair. If I send a transaction now you can select a random seed which makes me lose quite easily. This is bad. You don't need to change it for me but don't claim it's provably fair if it's not. Look into what the others are doing. A solution that works for on-chain games like yours is to have a secret of the day that doesn't change and have the SHA-256 (or whatever) hash of that secret known, the secret should be at least 16 bytes so it's hard to find by brute force searching (feel free to use longer secrets). When calculating the result you combine the secret of the day with the transaction id in same way and then find a card from the deck in some way.

For example you could: card = (HMAC_SHA256(secret,txid)/2^256)/52, the result is an index in a deck of 52 cards (note: this uses big integer arithmetic)

After the day is over you publish the secret. Now everyone can verify that the SHA-256 of the secret (which was known to players beforehand) is the same as calculating SHA-256(secret) when the secret is known.

Yes you can screw up implementing provably fair and leak your bet results beforehand but you can also do it correctly and the game becomes provably fair for everyone.
full member
Activity: 224
Merit: 100
just got another player bet .005 won .02 !  congrats
full member
Activity: 224
Merit: 100
Ok,  now its provable fair as I use my random plus the transaction ID as the seed.  I wont know the transaction ID and you wont know the rand until after so fair to both sides...hehe
Frz
newbie
Activity: 13
Merit: 0
Maybe you should look into what all the dice sites are doing it's basically what I described.
full member
Activity: 224
Merit: 100
It's not provably fair. To make it provably fair you need to show information which will allow players to know that the result of the draw can not be influenced by you before they make a deposit.

A possible implementation is the hash of the random seed (possibly add some salt). You will make people even more happy if you use the incoming transaction id as the client seed in addition.

The only way to do what you ask would be to show the cards before hand more or less. 

Even if I hash the random seed with/without salt I would still just be displaying that to user after the fact.  Using the trans ID as the seed might work would need to research a little see exactly where these comes from IE there is no pattern there or the system would basically be exploitable. 

Random is what random is No good way to be random and at same time not have some part hidden.  Else it would be predictable and thus not random anymore. 

Just looked into it and the TX Id is a hash of the TX which in theory could be built in memory and figured before hand thus basically knowing your outcome before it happens so yeah not doing that.
full member
Activity: 224
Merit: 100
It's not provably fair. To make it provably fair you need to show information which will allow players to know that the result of the draw can not be influenced by you before they make a deposit.

A possible implementation is the hash of the random seed (possibly add some salt). You will make people even more happy if you use the incoming transaction id as the client seed in addition.

The only way to do what you ask would be to show the cards before hand more or less. 

Even if I hash the random seed with/without salt I would still just be displaying that to user after the fact.  Using the trans ID as the seed might work would need to research a little see exactly where these comes from IE there is no pattern there or the system would basically be exploitable. 

Random is what random is No good way to be random and at same time not have some part hidden.  Else it would be predictable and thus not random anymore. 
Frz
newbie
Activity: 13
Merit: 0
It's not provably fair. To make it provably fair you need to show information which will allow players to know that the result of the draw can not be influenced by you before they make a deposit.

A possible implementation is the hash of the random seed (possibly add some salt). You will make people even more happy if you use the incoming transaction id as the client seed in addition.
full member
Activity: 224
Merit: 100
Hmmm had a few transactions when first announced and now that I make the odds better and it provably fair as asked no one wants to bid?  lol
full member
Activity: 224
Merit: 100
Reindex complete site live with new 4x payout on 13/54 guess the suit.
full member
Activity: 224
Merit: 100
Ok,   so looked at dice sites looks like if I did this should match odds to win pretty close:

Add the 2 jokers into deck as loosing cards giving you
13/54 ~ 0.2407% chance to win
with a 4x payout on win.

Basically matching the small house edge of dice best I can with my setup.  Would people play at that?

Oh the site is down for reindex again as I seem to have lost an address in the wallet and with it most the bank :-(  Trying to get them back but doubt I will just a little scared to put much BTC in it right now.
member
Activity: 73
Merit: 10
Playing at those odds , no thanks.
legendary
Activity: 1120
Merit: 1000
2x payout for 25% chance?

For now yes.  thinking about jacking ti to 3x and also maybe adding jokers in deck for some sorta special bonus win like joker wins your bet back + last 5 bets or something.

You won't get many people playing at those odds. Why play at your site when they can go to some dice or similar site and get close to 4x?
full member
Activity: 224
Merit: 100
To appease the masses that I'm not cheating here I made this provably fair
http://www.infinifire.com/guessthecard/about-us/
Show the details about where to see the seed used and how to calculate the card

NOTE:  These will only show on from now forward guesses as previous guesses were just based on a simple PHP rand which is actually more random then any way that can be provably fair.
Pages:
Jump to: