Bitcoin Forum
November 14, 2024, 11:35:15 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 [2]  All
  Print  
Author Topic: Ripple coin flip win 2x your money 49 out of 100 times!  (Read 7937 times)
nyusternie
Full Member
***
Offline Offline

Activity: 211
Merit: 100


"Living the Kewl Life"


View Profile
March 29, 2013, 07:14:05 AM
Last edit: March 29, 2013, 07:38:23 AM by nyusternie
 #21

I think this code, sophomoric as it is, proves that ripple is much faster and better for gaming than bitcoin.  Admittedly there's not much traffic on the ripple network, but after watching this thing go I'm a believer.  

speed is really not a problem for bitcoin. most games will allow you to use deposits with 0 confirmations (which is pretty much instant). the only restriction comes with withdrawals (this is where ripple may actually have an advantage). but still not a big deal, as you'll probably satisfy the min confirmations of the site during the time your playing whatever game (e.g. 2 confirmations is only ~20 min); so by the time you're ready to withdraw, you're deposits should already be sufficiently confirmed.

I'm also an early adopter to XRPs so I can benefit if you just copy it and use it to drive XRP adoption.
so, here you go!
http://podstreamer.com/rippledoubler.py.txt

If you'd like to send back the proof of fairness code,  I'll use it.  Otherwise I'll figure out how to roll my own.

nice. thanks!

i think the greatest benefit would be to open source this code for others to use in their own creative implementations. would you have any objections if i threw this up on github when i'm done? i'd obviously credit you as the original author.
-------------------

actually, i don't even like to gamble (at least not casino style). i prefer "real money games" (like skins when golfing). i believe bitcoin and ripple could do well in facilitating the creation of fun and unique real money "online" games. my new platform https://www.btcvillage.nl will hopefully provide a framework for average developers to create "real money venues" without all the hurdles that come with cryptographic currencies.

edit:
just ran another test on your bot. incredibly fast indeed. nice work Wink
https://ripple.com/client/#/tx?id=84FBE84F437E6A1DCC2F16FE5AA65AF2037D03BEF64CB11C9052823AE1B89E24

1SDoTrAWQnbJ2ZHvLs3a2XxazqNSishn1
GPG A1638B57 | OTC nyusternie
nyusternie
Full Member
***
Offline Offline

Activity: 211
Merit: 100


"Living the Kewl Life"


View Profile
March 30, 2013, 11:37:43 AM
 #22

here is a working example of provably fair based on hmac of txid
http://pastebin.com/x3vJ0xX7

there really is much more to it than this, the most important being the management of the daily secret.
another thing i suggest is to sign the tx before sending it to the server (to protect your secret key)
also, you'll have to properly set the odds (i think i left it at straight 50/50)

this was a great lesson for me in understanding the transaction system of ripple.
it will be a lot easier for me if i port this to nodejs so i can experiment further.
i'll be sure to publish the result up on github

if you have any questions, don't hesitate to ask

1SDoTrAWQnbJ2ZHvLs3a2XxazqNSishn1
GPG A1638B57 | OTC nyusternie
nyusternie
Full Member
***
Offline Offline

Activity: 211
Merit: 100


"Living the Kewl Life"


View Profile
April 01, 2013, 06:20:06 AM
 #23

@fancy_pants i was truly inspired by your effort in creating this ripple bot. i'm in the process of releasing an open source gaming engine for bitcoin and i thought it would be a great exercise to create a ripple port. i threw this together over the weekend and i'm hoping it will help gain support for the ripple gaming community.

check it out when you have a chance
https://github.com/houseofsdot/ripple360

1SDoTrAWQnbJ2ZHvLs3a2XxazqNSishn1
GPG A1638B57 | OTC nyusternie
fancy_pants (OP)
Hero Member
*****
Offline Offline

Activity: 663
Merit: 501


quarkchain.io


View Profile WWW
April 08, 2013, 01:38:00 AM
 #24

@fancy_pants i was truly inspired by your effort in creating this ripple bot. i'm in the process of releasing an open source gaming engine for bitcoin and i thought it would be a great exercise to create a ripple port. i threw this together over the weekend and i'm hoping it will help gain support for the ripple gaming community.

check it out when you have a chance
https://github.com/houseofsdot/ripple360

Hi nyusternie!

I haven't been on this forum for a while, so I'm sorry I haven't responded to you. But -  your project looks great!  The "refill code" is cool. I was thinking about doing something like that with the last couple of digits of the amount,  but your way seems more professional.  I was bummed to see you have also hard-coded XRP.  I'm working on getting multiple currencies this afternoon and was hoping to see how someone else handles that.  Thanks for the pointers on provably fair.

I'll post when I get multi-currency then implement your ideas for provably fair after that. (That is if I don't get sidetracked first)

Cole
 
GoWest
Hero Member
*****
Offline Offline

Activity: 563
Merit: 501


betwithbtc.com


View Profile WWW
April 08, 2013, 03:20:30 AM
 #25

Just tried it a couple times with 5 XRP.  To say I'm impressed is an understatement.  This makes the Bitcoin verison (i.e SatoshiDice) feel absolutely dated.

This is a great example of how micro-transactions are going to move off of the Bitcoin network and onto Ripple.

fancy_pants (OP)
Hero Member
*****
Offline Offline

Activity: 663
Merit: 501


quarkchain.io


View Profile WWW
April 08, 2013, 05:16:12 AM
 #26

Just tried it a couple times with 5 XRP.  To say I'm impressed is an understatement.  This makes the Bitcoin verison (i.e SatoshiDice) feel absolutely dated.

This is a great example of how micro-transactions are going to move off of the Bitcoin network and onto Ripple.

yeah,  Ripple smokes.  It will be interesting to see if it can maintain these fantastic speeds without a practically pristine pipe.
GoWest
Hero Member
*****
Offline Offline

Activity: 563
Merit: 501


betwithbtc.com


View Profile WWW
April 08, 2013, 05:44:57 AM
 #27

Just tried it a couple times with 5 XRP.  To say I'm impressed is an understatement.  This makes the Bitcoin verison (i.e SatoshiDice) feel absolutely dated.

This is a great example of how micro-transactions are going to move off of the Bitcoin network and onto Ripple.

yeah,  Ripple smokes.  It will be interesting to see if it can maintain these fantastic speeds without a practically pristine pipe.


By the way... http://www.thebitcointrader.com/2013/04/ripple-coin-flip-satoshidice-of-ripple.html

fancy_pants (OP)
Hero Member
*****
Offline Offline

Activity: 663
Merit: 501


quarkchain.io


View Profile WWW
April 08, 2013, 06:13:28 AM
 #28


Thanks GoWest!  I pasted your link and oscar worthy performance to the top of the thread. 
GoWest
Hero Member
*****
Offline Offline

Activity: 563
Merit: 501


betwithbtc.com


View Profile WWW
April 08, 2013, 12:20:11 PM
 #29


Thanks GoWest!  I pasted your link and oscar worthy performance to the top of the thread. 

LOL.

Chrstian
Full Member
***
Offline Offline

Activity: 185
Merit: 100


View Profile
June 02, 2013, 07:03:04 PM
 #30

nice work, i played around with it for a little bit, no delays whatsoever. made a few ripples too Tongue
b!z
Legendary
*
Offline Offline

Activity: 1582
Merit: 1010



View Profile
June 18, 2013, 01:48:57 AM
 #31

The max bets are way too low.
mrmimer
Newbie
*
Offline Offline

Activity: 7
Merit: 0


View Profile
June 19, 2013, 02:58:13 PM
 #32

I just tried this 4 times... and I didn't win any?

I know each time I only have a 49% chance to win but it just seemed fishy to me...

Because there is only a .51^4 chance of me losing 4 times in a row which equates to around 6%... Maybe I'm just unlucky, but this doesn't seem legit to me.


Edit-
I just made 2 more microbets, both losses.
the chance of 6 losses is .51^6 if done concurrently.
I know the chance of me losing is 51% each time, but this is BS o.O
Pages: « 1 [2]  All
  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!