Pages:
Author

Topic: ggdice.com - 0.8% edge - truly fast betting with custom server-side strategies (Read 3926 times)

full member
Activity: 324
Merit: 100
I really wanted to play on this site!
sr. member
Activity: 294
Merit: 250
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.
sr. member
Activity: 294
Merit: 250
Litecoin has been updated to the latest stable version.

Now the withdraw fee for LTC is 0.001
sr. member
Activity: 294
Merit: 250
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.
sr. member
Activity: 294
Merit: 250
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)
b!z
legendary
Activity: 1582
Merit: 1010
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
full member
Activity: 168
Merit: 100
Isn't 0.8% HE dangerously low for the house?
sr. member
Activity: 294
Merit: 250
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.
sr. member
Activity: 294
Merit: 250
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.
hero member
Activity: 854
Merit: 500
Historical profit graph for Bitcoin room:

sr. member
Activity: 294
Merit: 250
sr. member
Activity: 294
Merit: 250
In about one hour from now, at 18:30 UTC, I will shutdown the server that answers to ggdice.com and dice.gg in order to better serve the people playing there. This will take from 1 to 2 hours if everything goes ok (I expect to be the case), and you won't be able to access the site at all during this period.

There is no other way to do this due to how the current hosting company operates, the server simply needs more storage to continue properly storing the data. It is taking longer than I expected to move to another company, and hopefully when the site moves there such issue will no longer happen.

For those that might be interested in how the investment option is going to work, you can visit ggdice.com and type /invest in the chat. Then click at the top right icon where it describes the model that will be used. If there are any doubts, contact me directly in the chat over there, right here at bitcointalk or through email.

See you Smiley
sr. member
Activity: 294
Merit: 250
Hello,

Since the initial post I've been quite busy and only recently I started dedicating some time to ggdice again. For those interested where this is heading to: I'm talking with some hosting companies to decide on a good place (possibly outside USA, and also outside a USA company) to host this; The investment feature will be added after the hosting is resolved, in the meantime I'm considering my options regarding how I can make this a safer investment for those interested in increasing the bankroll and sharing the expected profits.

A couple of features have been suggested, like fully customized strategies, an easier user interface for betting, and others. Most of them are being considered and will be done, thanks for suggesting them through the chat and also by email.

Recently the BTC room recovered from its negative profit and is now ~0.25BTC up, the max profit is still low but everyone is welcome to deposit some bitcents and become a whale considering the max profit. So far the site received about 44 million bets in total, ~15000 strategies, and it looks like a rare thing to find Litecoin players. Another cool info: user 621 managed to hit a 24 win streak at strategy 8723 (ending at roll #7825). There might be some other info I'm forgetting now, but all in all, thanks for visiting the site and playing there.

Ah, yes, now the coolest domain dice.gg can be used to access ggdice too.
sr. member
Activity: 294
Merit: 250
Would you consider selling your site?

For a very high and absurd value, yes. Why not ?

I can keep it running just fine, I don't have issues in paying for the servers even though I'm only losing money so far. So I don't actually have any reason to sell it. Thanks for considering buying it anyway, regards.
hero member
Activity: 602
Merit: 500
Acc bought - used solely for signature testing
Would you consider selling your site?
sr. member
Activity: 294
Merit: 250
Today the BTC room hit some two relatively rare streaks: 21 wins a row, and 21 losses in a row. Both at win chance of 49.5% with 2.00404040x payout:

max wins in a row: 21 at strategy 7465 (https://ggdice.com/strategy/7465), ending at roll #1496
max losses in a row: 21 at strategy 7510 (https://ggdice.com/strategy/7510), ending at roll #9898


The site is still working Smiley But with a slightly lower max profit as people have been using strategies that very rarely lose at these levels.
sr. member
Activity: 294
Merit: 250
The BTC and LTC rooms are enjoying a 0.8% edge from now on.
sr. member
Activity: 294
Merit: 250
#530 is me. it's no worry; that was just a strange first impression of the site Cheesy

That is just me being a bit too paranoid. I've seen another user getting banned some moments ago too (the ban lasted less than 3 minutes).

Right now it should be harder to get banned while being a legitimate user (but it could still happen), I've tweaked the conditions to cause the short bans.
sr. member
Activity: 294
Merit: 250
Hello again,

ggdice is now accepting Litecoins, it is starting small like the Bitcoin room. Max profit when playing with Litecoin is starting at 1.005 LTC.

Let me know if you have any doubts or issues.
Pages:
Jump to: