Bitcoin Forum
August 18, 2019, 10:39:18 PM *
News: Latest Bitcoin Core release: 0.18.0 [Torrent] (New!)
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Distributed trustless poker  (Read 5688 times)
agorism
Newbie
*
Offline Offline

Activity: 45
Merit: 0


View Profile
December 05, 2013, 03:29:04 AM
 #1

rock, paper, sissors is suitable for a simple form of gambling, but the ties slow things down.
It is better if each side chooses a number. If the number sum to even, then person A wins. If they sum to odd, then person B wins.
Maybe person A will try and say his number slightly late, so that he can listen to B and cheat.
To avoid this, both parties should write down the number they chose, and then show each other.
or equivalently, they trade hashes of the number they chose first.

This is a very simple case of http://en.wikipedia.org/wiki/Distributed_computing distributed computing.

I have a plan on how I can use this to build a trustless distributed poker system.
1566167958
Hero Member
*
Offline Offline

Posts: 1566167958

View Profile Personal Message (Offline)

Ignore
1566167958
Reply with quote  #2

1566167958
Report to moderator
1566167958
Hero Member
*
Offline Offline

Posts: 1566167958

View Profile Personal Message (Offline)

Ignore
1566167958
Reply with quote  #2

1566167958
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1566167958
Hero Member
*
Offline Offline

Posts: 1566167958

View Profile Personal Message (Offline)

Ignore
1566167958
Reply with quote  #2

1566167958
Report to moderator
t3a
Full Member
***
Offline Offline

Activity: 179
Merit: 100


View Profile
December 05, 2013, 07:06:03 AM
 #2

Seems like it could be gamed pretty easy. If a user loses rock paper scissors, they move their coins to another address before the winner broadcasts his winning transaction.

Advertise here for 10btc/day
altoz
Member
**
Offline Offline

Activity: 78
Merit: 10



View Profile
December 06, 2013, 02:50:58 PM
 #3

sounds good in theory, but you still have to see your own hand, which means the other side has to give you their part of the key, which also means you can see their hand.
t3a
Full Member
***
Offline Offline

Activity: 179
Merit: 100


View Profile
December 07, 2013, 10:06:01 AM
Last edit: December 08, 2013, 12:59:55 AM by t3a
 #4

Thought about this a bit. One way you could do it is to have an event that happens 50% of the time be part of your transaction.

Not sure what event has a 50% chance of happening other than a trusted oracle that signs transactions 50% of the time.

Basically for rock, paper, scissors, you would make a transaction with two inputs, the two betters and have it spent to one users output if an oracle signs it within 24 hours. If an oracle doesn't sign it, then the other user gets it.

Edit: Look at this post, he has a much better algorithm than me: https://bitcointalk.org/index.php?topic=277048.0

Advertise here for 10btc/day
joesmoe2012
Hero Member
*****
Offline Offline

Activity: 868
Merit: 501


Ching-Chang;Ding-Dong


View Profile WWW
December 08, 2013, 05:53:23 AM
 #5

We need PokerCoin - Blockchain based poker :p


t3a
Full Member
***
Offline Offline

Activity: 179
Merit: 100


View Profile
December 08, 2013, 07:20:13 AM
 #6

We need PokerCoin - Blockchain based poker :p


I've talked to some devs about this. They said it would bloat the blockchain quite a bit and cost a lot in transaction fees. Along with that, you are left with unconfirmed transactions unless you wait 10 minutes between the the flop, river, etc.

Advertise here for 10btc/day
joesmoe2012
Hero Member
*****
Offline Offline

Activity: 868
Merit: 501


Ching-Chang;Ding-Dong


View Profile WWW
December 08, 2013, 08:29:22 AM
 #7

We need PokerCoin - Blockchain based poker :p


I've talked to some devs about this. They said it would bloat the blockchain quite a bit and cost a lot in transaction fees. Along with that, you are left with unconfirmed transactions unless you wait 10 minutes between the the flop, river, etc.

Naw i don't mean use the bitcoin blockchain, i mean create our own blockchain that is intended specifically for the kind of transactions we would be doing. Nice, fast, and reallly super long term storage isn't that necessary - a game will only last a few hours at the most.

HostFat
Staff
Legendary
*
Offline Offline

Activity: 3178
Merit: 1091


I support freedom of choice


View Profile WWW
December 08, 2013, 02:34:41 PM
 #8

Another thread about this topic
https://bitcointalk.org/index.php?topic=1487.0

NON DO ASSISTENZA PRIVATA - The Rock Trading (ref): A good exchange since 2007. 
https://bitcointa.lk: Bitcointalk backup if offline - Bitcoin Foundation Italia - Blog: http://theupwind.blogspot.it
MountainTop
Newbie
*
Offline Offline

Activity: 10
Merit: 0


View Profile
July 23, 2014, 09:55:39 AM
 #9

Would love to see your progress.
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!