Bitcoin Forum
November 10, 2024, 07:27:40 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 [2]  All
  Print  
Author Topic: ggdice.com - 0.8% edge - truly fast betting with custom server-side strategies  (Read 3926 times)
imagereply
Newbie
*
Offline Offline

Activity: 42
Merit: 0


View Profile
September 28, 2013, 03:42:59 PM
 #21

http://media.treehugger.com/assets/images/2011/10/bombardier-high-speed-train-photo03.jpg
infested999
Hero Member
*****
Offline Offline

Activity: 854
Merit: 500



View Profile
October 02, 2013, 02:21:03 AM
 #22

Historical profit graph for Bitcoin room:


              ▄███▄   ▄███▄
              █████   █████
      ▄███▄    ▀▀▀     ▀▀▀    ▄███▄
      █████     ▄██▄ ▄██▄     █████
       ▀▀▀ ▄██▄ ▀██▀ ▀██▀ ▄██▄ ▀▀▀
 ▄███▄     ▀██▀           ▀██▀     ▄███▄
 █████ ▄██▄                   ▄██▄ █████
  ▀▀▀  ▀██▀                   ▀██▀  ▀▀▀
                       ▄█
▄███▄ ▄██▄            ███ ███  ▄██▄ ▄███▄
█████ ▀██▀  ████      █████    ▀██▀ █████
 ▀▀▀         ▀███▄    ████           ▀▀▀
       ▄██▄    ████   ███     ▄██▄
 ▄███▄ ▀██▀     ▀███  ███     ▀██▀ ▄███▄
 █████            ███▄██           █████
  ▀▀▀              ▀████            ▀▀▀
                     ███
                     ███
                     ██
                   ███

████    ██
  ████    ██
    ████    ██
      ████    ██
        ████    ██
          ████    ██
          ████    ██
        ████    ██
      ████    ██
    ████    ██
  ████    ██
████    ██










White Paper
Yellow Paper
Pitch Deck
Telegram
LinkedIn
Twitter
knowitnothing (OP)
Sr. Member
****
Offline Offline

Activity: 294
Merit: 250


View Profile
October 02, 2013, 03:20:53 AM
 #23

Historical profit graph for Bitcoin room:



I believe this 1 BTC jump was likely a donation, considering the max profit is at 0.03 BTC. Basically the person deposited to invest but misunderstood that investment was not open yet, and then I think he got bored and kept doing max profit bets till that happened.
knowitnothing (OP)
Sr. Member
****
Offline Offline

Activity: 294
Merit: 250


View Profile
October 22, 2013, 02:36:14 AM
 #24

A brand new feature has just been added: custom server side strategies.

You can either create your own strategy or run one created by someone else*. The process works in two steps, first you submit a strategy which is then automatically verified. If it passes the checks, then you can run it as many times as you want. If you opt to make it public, then the pages containing it will include a link to its source (e.g. https://ggdice.com/strategy/34218). If you want to share your strategy, just give its SHA2-256 hash to other people and they will be able to run it using that.

Sample code for submitting and running custom strategies is available at https://bitbucket.org/knowitnothing/ggdice_client/src (see bot_custom.py and sample_custom.bot). Right now, the only way to verify and run them is through the websockets API shown in the code just linked.

Writing your strategy involves coding in a subset of the Python language. A given strategy must have 3 (and only these 3) functions: setup, win, lose. All of them take one parameter, a dict containing your own parameters and other basic ones automatically included: room id, bankroll (current bankroll for the strategy), count (number of rolls performed so far), and stop (default to False). The setup function is called once before anything, the win function is called after every winning roll, and respec. for the lose function. If you want to stop the strategy at any point, set the stop key in the received dict to True.
The setup function must define the parameters roll_high (either True or False), to_bet (initial amount to bet, an integer amount), and payout (initial payout, integer too).

Opening for custom server side strategies involves a lot of issues, so the language supported is extremely restricted: there are no loops, function calls (except for converting between integer and floating point), arrays (but you can simulate that using the dict passed), and possibly other features that could potentially hurt the machine. Said that, it's always possible that some protection is missing. Everyone is welcome to give it a try and destroy the machine running it Wink

If anyone wants more details about the language supported, feel free to ask here or in the chat at ggdice.


* Always be careful when running something you don't understand. You might want to experiment it using fakecoins before moving to other coins.
Jabbatheslutt
Full Member
***
Offline Offline

Activity: 168
Merit: 100


View Profile
October 22, 2013, 08:33:09 AM
 #25

Isn't 0.8% HE dangerously low for the house?
b!z
Legendary
*
Offline Offline

Activity: 1582
Merit: 1010



View Profile
October 22, 2013, 10:07:02 AM
 #26

A brand new feature has just been added: custom server side strategies.

You can either create your own strategy or run one created by someone else*. The process works in two steps, first you submit a strategy which is then automatically verified. If it passes the checks, then you can run it as many times as you want. If you opt to make it public, then the pages containing it will include a link to its source (e.g. https://ggdice.com/strategy/34218). If you want to share your strategy, just give its SHA2-256 hash to other people and they will be able to run it using that.

Sample code for submitting and running custom strategies is available at https://bitbucket.org/knowitnothing/ggdice_client/src (see bot_custom.py and sample_custom.bot). Right now, the only way to verify and run them is through the websockets API shown in the code just linked.

Writing your strategy involves coding in a subset of the Python language. A given strategy must have 3 (and only these 3) functions: setup, win, lose. All of them take one parameter, a dict containing your own parameters and other basic ones automatically included: room id, bankroll (current bankroll for the strategy), count (number of rolls performed so far), and stop (default to False). The setup function is called once before anything, the win function is called after every winning roll, and respec. for the lose function. If you want to stop the strategy at any point, set the stop key in the received dict to True.
The setup function must define the parameters roll_high (either True or False), to_bet (initial amount to bet, an integer amount), and payout (initial payout, integer too).

Opening for custom server side strategies involves a lot of issues, so the language supported is extremely restricted: there are no loops, function calls (except for converting between integer and floating point), arrays (but you can simulate that using the dict passed), and possibly other features that could potentially hurt the machine. Said that, it's always possible that some protection is missing. Everyone is welcome to give it a try and destroy the machine running it Wink

If anyone wants more details about the language supported, feel free to ask here or in the chat at ggdice.


* Always be careful when running something you don't understand. You might want to experiment it using fakecoins before moving to other coins.
This is a great feature. It should reduce the need to download 3rd party software to automate dice games.

Good work Smiley
knowitnothing (OP)
Sr. Member
****
Offline Offline

Activity: 294
Merit: 250


View Profile
October 22, 2013, 01:59:54 PM
 #27

Isn't 0.8% HE dangerously low for the house?

I don't know what kind of reply you expect here, can you expand your question ? What I can do for now is point you to other well know games and their edges, like Blackjack and a couple of others.

A brand new feature has just been added: custom server side strategies.
...
This is a great feature. It should reduce the need to download 3rd party software to automate dice games.

Good work Smiley

Thanks b!z, but there was no intention to reduce the need of 3rd party software, maybe this feature was misunderstood ?

The goal is to extend what the strategies in the site already do: massive server side betting, now with customized logic. The difference between server side and client side betting is the speed of the bets, since with the former you cut the need of continuously sending bets to the server. For those that never used the site, the automated betting is not done in the client like other sites do. Now you can remove the limitations imposed by the user interface at ggdice.com, and create/share your own code to run in the server.

For instance, here is some barely tested split betting (you can test it locally before submitting). You would send it to the server and let it be executed there.

Code:
def setup(p):
    if p['room'] == 1 or p['room'] == 6:
        # Edge is 1% in these rooms.
        edge = 1.0
    else:
        edge = 0.8

    winchance = 49.5
    base_payout = (100 - edge) / winchance

    # Setup split betting. Example with 10 coins.
    split = 100
    to_bet = 10.0 / split

    # Obligatory params.
    p['to_bet'] = int(to_bet * 1e8)
    winchance_0 = (100 - edge) / (split * (base_payout - 1) + 1)
    p['payout'] = int((100 - edge) / winchance_0 * 1e8)
    p['roll_high'] = True

    # Other params that we will need.
    p['edge'] = edge
    p['split'] = split
    p['base_payout'] = base_payout

def win(p):
    # In case of a win, stop betting.
    p['stop'] = True

def lose(p):
    # Increase the payout.
    c = p['count']
    if c == p['split']:
        p['stop'] = True
        return
    winchance_i = (100 - p['edge']) / (p['split'] * (p['base_payout'] - 1) + c + 1)
    p['payout'] = int((100 - p['edge']) / winchance_i * 1e8)
knowitnothing (OP)
Sr. Member
****
Offline Offline

Activity: 294
Merit: 250


View Profile
November 30, 2013, 02:24:15 AM
 #28

This message is to inform I will be traveling from December 1st, 2013 to January 1st, 2014. During this time very limited support will be available, and the easiest way to contact me will be through the email provided in my profile in this forum.

Thanks everyone for playing.
knowitnothing (OP)
Sr. Member
****
Offline Offline

Activity: 294
Merit: 250


View Profile
December 29, 2013, 01:23:45 PM
 #29

Litecoin has been updated to the latest stable version.

Now the withdraw fee for LTC is 0.001
knowitnothing (OP)
Sr. Member
****
Offline Offline

Activity: 294
Merit: 250


View Profile
March 23, 2014, 08:57:48 PM
 #30

ggdice stopped providing user support and it is no longer being maintained, therefore the best decision seems to finish its operation. As long as bitcoin related project goes, this one was a success in the sense that no one got scammed, nor were the servers hacked, etc.., but it's in the best interest of everyone to declare its end now.

I personally recommend anyone with funds in there to withdraw the coins asap.

If anyone is interested in the code, domain, or anything else, enter in contact by email.

Regards,

-- ggdice


** NOTE: litecoins cannot be withdraw right now as the leveldb got corrupted, in some hours that will be available again. BTC and TIX are operating normally at this moment.
emsjvh
Full Member
***
Offline Offline

Activity: 324
Merit: 100



View Profile
March 30, 2014, 07:15:17 AM
 #31

I really wanted to play on this site!
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!