Author

Topic: Play Hi/Lo Card game. Win Bitcoins (our first BitCoin App) (Read 1775 times)

hero member
Activity: 490
Merit: 500
We'd love to know what you think.

I notice you don't use a regular deck of 52 cards and shuffle them.  You use a 50 random numbers between 1 and 13.  That can mean there are lots of aces and no 2's, for instance.  You seem to have complete control of the seed used to pick the cards, and the txid is only used to shuffle it.  So you can deliberately pick seeds which result in a skewed deck (lots of very high or very low cards) to throw the player off.

It would be better if you either used a full deck of 52 cards, or used the txid to adjust the seed for card selection as well as for card shuffling, if you want the game to be provably fair.

This is why I love btc community.

We ain't stupid ya kno'?

Looking to play soon Tongue
newbie
Activity: 46
Merit: 0
We're a couple of guys trying to get our heads around Bitcoin from a economic and technical perspective.
We put together a simple site where you can play Hi/Lo Card game and win bitcoins.

We'd love to know what you think of our implementation and how we're used Bitcoin transaction ID's to prove the games are fair and authenticated.

The site is: http://bitino.com

We'd love to know what you think.

doesn't seem to be available on either Opera or Firefox  ;-/
newbie
Activity: 25
Merit: 0
legendary
Activity: 2940
Merit: 1333
Typos: "as a encrypted hash" *an* encrypted.

"We create a sever 'seed'" -> server

"algorthims" - spell check!

"pythons implementation" -> Python's

"and withdraw you Bitcoins" -> your
legendary
Activity: 2940
Merit: 1333
We'd love to know what you think.

I notice you don't use a regular deck of 52 cards and shuffle them.  You use a 50 random numbers between 1 and 13.  That can mean there are lots of aces and no 2's, for instance.  You seem to have complete control of the seed used to pick the cards, and the txid is only used to shuffle it.  So you can deliberately pick seeds which result in a skewed deck (lots of very high or very low cards) to throw the player off.

It would be better if you either used a full deck of 52 cards, or used the txid to adjust the seed for card selection as well as for card shuffling, if you want the game to be provably fair.
newbie
Activity: 37
Merit: 0
hey, thanks for the feedback
newbie
Activity: 29
Merit: 0
Just wanted to say that I used this the other day after the post on hacker news.  Worked out well, got paid out without any problems. Looking forward to seeing more games!
newbie
Activity: 37
Merit: 0
We're a couple of guys trying to get our heads around Bitcoin from a economic and technical perspective.
We put together a simple site where you can play Hi/Lo Card game and win bitcoins.

We'd love to know what you think of our implementation and how we're used Bitcoin transaction ID's to prove the games are fair and authenticated.

The site is: http://bitino.com

We'd love to know what you think.
Jump to: