Bitcoin Forum
May 07, 2024, 05:07:00 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Distributed trustless poker  (Read 5740 times)
agorism (OP)
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.
1715101620
Hero Member
*
Offline Offline

Posts: 1715101620

View Profile Personal Message (Offline)

Ignore
1715101620
Reply with quote  #2

1715101620
Report to moderator
The forum was founded in 2009 by Satoshi and Sirius. It replaced a SourceForge forum.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
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: 14



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: 882
Merit: 501


Ching-Chang;Ding-Dong


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

We need PokerCoin - Blockchain based poker :p


Check out BitcoinATMTalk - https://bitcoinatmtalk.com
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: 882
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.

Check out BitcoinATMTalk - https://bitcoinatmtalk.com
HostFat
Staff
Legendary
*
Offline Offline

Activity: 4214
Merit: 1203


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 - http://hostfatmind.com
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:  

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