Bitcoin Forum

Economy => Gambling => Topic started by: knowitnothing on August 28, 2013, 09:28:50 PM



Title: ggdice.com - 0.8% edge - truly fast betting with custom server-side strategies
Post by: knowitnothing on August 28, 2013, 09:28:50 PM
Hello everyone,

Recently I've been working on https://ggdice.com and now I would like to invite you all to visit it. It is still in alpha, but since I won't be modifying it (too much) in the next weeks, I thought now would be a good opportunity to announce it. Suggestions, critics and questions are all welcome. A current, and not so short, description of the site follows:


GGDICE (https://ggdice.com)


GGDICE (https://ggdice.com) is a place where you can do provably fair dice rolls with your favourite crypto currency in varied rooms. The system is composed of several rooms, where each one of them uses a single coin and has its own settings like room edge and bet risk (for the investor**). For the moment there are three rooms (all owned by the house and all with the same game type):

  • The default room where new users start at with 1000 FakeCoins and play at 1% edge
  • The Litecoin room with a 0.8% edge which currently supports bets giving a maximum profit of about 1 LTC
  • The Bitcoin room with a 0.8% edge and current max profit of about 0.03 BTC.

Deposit your coins and play!

There is support for executing strategies in the server, limited to 10 thousand rolls per strategy with a throughput of about 300 rolls per second given the current server. More details about this can be seen in the site by visiting the "Strategy" section found in the menu at right. The profit plot will show a single point for a given strategy, which regards the profit generated by its complete execution.

Your bets can be downloaded at any given point, and the download link can be shared with others till it expires. There are some hidden features which can be accessed by typing "/help" in the chat, as well some shortcuts that are not described anywhere: "B" toggles the bet panel, "M" toggles the right menu, "T" switches between the strategy page and the main page, "F1" (funny suggestion by someone) sets the bet according to the maximum profit for the room.

The login method follows the more or less traditional method of automatically creating a new account when you first visit the site. If you lose the received cookie, you can no longer access the account.
To avoid this problem you can either setup a username/password pair or use OneID. The former is not recoverable; the later is much safer for everyone involved, simpler to use, and you can configure it yourself whether you want 2FA or not.

Other details:

  • The layout looks like a mobile thing because I started the site with focus on mobile
  • The live bets are always slightly delayed, so if you are betting and want to see your own bets without delay, switch away from it
  • Talking too fast in the chat will get you a temporary ban of a few minutes. If you want to spam the chat, wait a little bit before talking again :) If someone is interested in moderating it, enter in contact
  • There is a basic bot for reference at https://bitbucket.org/knowitnothing/ggdice_client/src/

If you want more details, just ask. Lastly, there is a chance that parts of the server-side code will be open sourced. This chance increases if I notice I cannot support user issues, which right now I cannot. Thanks for reading, enjoy the site.


** Investments are not open to the public at this point.


Title: Re: ggdice.com - truly fast betting - varied room settings - mobile friendly
Post by: IdealDarkness on August 29, 2013, 01:14:17 PM
Very fast, indeed. Looks cool, nice and clear design. ;)


Title: Re: ggdice.com - truly fast betting - varied room settings - mobile friendly
Post by: vlees on August 29, 2013, 01:16:12 PM
Site looks great. Betting really is insanely fast!


Title: Re: ggdice.com - truly fast betting - varied room settings - mobile friendly
Post by: knowitnothing on September 01, 2013, 10:13:00 PM
Hello again, thanks for the replies and the visitors.

One or two players wanted to play with actual bitcoins, so today I setup a room that accepts them! To avoid confusion, I removed the bitcoin testnet room. If you setup your account with OneID and enable 2FA, you can use a /faucet command in the chat.

For now, there are 2 bitcoins up for grabs. Max profit: 0.0315, edge: 2%.

If you make a deposit, you can confirm that the site has seen it by visiting https://ggdice.com/transactions/btc/pending (the return only refers to your account and is based on the current cookie set).

Feel free to ask any questions, thanks.


Title: Re: ggdice.com - truly fast betting - varied room settings - mobile friendly
Post by: GigaDice on September 01, 2013, 10:23:55 PM
Very nice site, love the speed and simplicity.


Title: Re: ggdice.com - truly fast betting - varied room settings - mobile friendly
Post by: knowitnothing on September 03, 2013, 01:31:16 AM
Hello again,

I'm now experimenting with a game very similar to apopheniabtc, for those times when you get bored of dice. Here is what you will get by typing "/game" in the chat at https://ggdice.com.

https://i.imgur.com/gwHqdly.png

The game has 5 stages, the images get progressively easier (but not necessarily easy) to guess. The relevant details are described inside the game (by clicking on that button at top right). You can download the game data at any point, and after the game ends you will be able to decrypt it.

Attention: Each stage lasts 1 hour.

Thanks again for the visits and for the feedback.


Title: Re: ggdice.com - truly fast betting - varied room settings - mobile friendly
Post by: knowitnothing on September 03, 2013, 02:17:39 AM
The faucet is now giving a max of 0.00008888 BTC (withdraw starts at  0.00016000 BTC).


Title: Re: ggdice.com - truly fast betting - varied room settings - mobile friendly
Post by: knowitnothing on September 04, 2013, 02:32:18 AM
New guessing game going on:

https://i.imgur.com/R0sYrUg.png

The faucet is still active.


Title: Re: ggdice.com - truly fast betting - varied room settings - mobile friendly
Post by: twobitlolz on September 04, 2013, 05:49:59 AM
well, i placed four bets with some FC and was thereafter IP banned for "moving too fast"

 ???


Title: Re: ggdice.com - truly fast betting - varied room settings - mobile friendly
Post by: knowitnothing on September 04, 2013, 05:58:55 AM
well, i placed four bets with some FC and was thereafter IP banned for "moving too fast"

 ???

Are you user #530 ? From what I see you weren't banned due to placing bets, but due to an action that was performed "too fast" after doing a bet (joining a room in that case). These 'moving too fast' bans last only some minutes, you are no longer banned for that.

If you are not user #530, can you tell me your id ?

Sorry for the trouble.


Title: Re: ggdice.com - truly fast betting - varied room settings - mobile friendly
Post by: twobitlolz on September 04, 2013, 06:20:09 AM
#530 is me. it's no worry; that was just a strange first impression of the site :D


Title: Re: ggdice.com - truly fast betting - varied room settings - mobile friendly
Post by: knowitnothing on September 04, 2013, 05:46:52 PM
Hello again,

ggdice (https://ggdice.com) 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.


Title: Re: ggdice.com - truly fast betting - varied room settings - mobile friendly
Post by: knowitnothing on September 05, 2013, 12:44:05 AM
#530 is me. it's no worry; that was just a strange first impression of the site :D

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.


Title: Re: ggdice.com - 0.8% edge - truly fast betting - varied rooms - mobile friendly
Post by: knowitnothing on September 05, 2013, 02:42:15 PM
The BTC and LTC rooms are enjoying a 0.8% edge from now on.


Title: Re: ggdice.com - 0.8% edge - truly fast betting - varied rooms - mobile friendly
Post by: knowitnothing on September 08, 2013, 03:43:49 PM
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

https://i.imgur.com/ndquYzk.pnghttps://i.imgur.com/dKHVKWe.png

The site is still working :) But with a slightly lower max profit as people have been using strategies that very rarely lose at these levels.


Title: Re: ggdice.com - 0.8% edge - truly fast betting - varied rooms - mobile friendly
Post by: KingOfSports on September 08, 2013, 05:10:47 PM
Would you consider selling your site?


Title: Re: ggdice.com - 0.8% edge - truly fast betting - varied rooms - mobile friendly
Post by: knowitnothing on September 08, 2013, 05:27:20 PM
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.


Title: Re: ggdice.com - 0.8% edge - truly fast betting - varied rooms - mobile friendly
Post by: knowitnothing on September 21, 2013, 03:29:56 AM
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 (https://ggdice.com/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 (https://dice.gg) can be used to access ggdice too.


Title: Re: ggdice.com - 0.8% edge - truly fast betting - varied rooms - mobile friendly
Post by: knowitnothing on September 27, 2013, 05:35:36 PM
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 :)


Title: Re: ggdice.com - 0.8% edge - truly fast betting - varied rooms - mobile friendly
Post by: knowitnothing on September 27, 2013, 07:23:47 PM
And it is back  :D


Title: Re: ggdice.com - 0.8% edge - truly fast betting - varied rooms - mobile friendly
Post by: imagereply on September 28, 2013, 03:42:59 PM
http://media.treehugger.com/assets/images/2011/10/bombardier-high-speed-train-photo03.jpg


Title: Re: ggdice.com - 0.8% edge - truly fast betting - varied rooms - mobile friendly
Post by: infested999 on October 02, 2013, 02:21:03 AM
Historical profit graph for Bitcoin room:

https://ggdice.com/static/img/btc.png


Title: Re: ggdice.com - 0.8% edge - truly fast betting - varied rooms - mobile friendly
Post by: knowitnothing on October 02, 2013, 03:20:53 AM
Historical profit graph for Bitcoin room:

https://ggdice.com/static/img/btc.png

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.


Title: Re: ggdice.com - 0.8% edge - truly fast betting - varied rooms - mobile friendly
Post by: knowitnothing on October 22, 2013, 02:36:14 AM
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 ;)

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.


Title: Re: ggdice.com - 0.8% edge - truly fast betting - varied rooms - mobile friendly
Post by: Jabbatheslutt on October 22, 2013, 08:33:09 AM
Isn't 0.8% HE dangerously low for the house?


Title: Re: ggdice.com - 0.8% edge - truly fast betting - varied rooms - mobile friendly
Post by: b!z on October 22, 2013, 10:07:02 AM
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 ;)

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 :)


Title: Re: ggdice.com - 0.8% edge - truly fast betting - varied rooms - mobile friendly
Post by: knowitnothing on October 22, 2013, 01:59:54 PM
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 (https://en.wikipedia.org/wiki/Blackjack#Rule_variations_and_their_consequences_for_the_house_edge) and a couple of others (http://wizardofodds.com/gambling/house-edge/).

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 :)

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)


Title: Re: ggdice.com - 0.8% edge - truly fast betting - varied rooms - mobile friendly
Post by: knowitnothing on November 30, 2013, 02:24:15 AM
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.


Title: Re: ggdice.com - 0.8% edge - truly fast betting with custom server-side strategies
Post by: knowitnothing on December 29, 2013, 01:23:45 PM
Litecoin has been updated to the latest stable version.

Now the withdraw fee for LTC is 0.001


Title: Re: ggdice.com - 0.8% edge - truly fast betting with custom server-side strategies
Post by: knowitnothing on March 23, 2014, 08:57:48 PM
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.


Title: Re: ggdice.com - 0.8% edge - truly fast betting with custom server-side strategies
Post by: emsjvh on March 30, 2014, 07:15:17 AM
I really wanted to play on this site!