Bitcoin Forum
May 02, 2024, 09:15:25 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 2 3 4 5 6 7 8 9 [10] 11 12 13 14 »
181  Economy / Gambling / Re: Lost all of my bitcoins on bitZino and it provably sucks on: September 12, 2012, 06:51:43 PM
I've noticed a lot of times on roulette I have to click several times before it registers my click. It happens a lot when the bet/double button lines up over another number or between two numbers. I need to move my mouse a little bit and click again, even though I was already on the button. /shrug/

That sounds bad! I am not able to replicate this issue though. Could you help me out and elaborate a little more? Which buttons require clicking multiple times - the big buttons at the bottom of the table (eg, "Spin", "Repeat Last", etc.), or is it the roulette board itself that sometimes requires multiple clicks. Also, what browser are you using? Finally, if possible, could you post a screenshot of: "It happens a lot when the bet/double button lines up over another number or between two numbers". I'm not sure exactly what you mean here, and a screenshot would help a lot. Thanks!

Also, what's your username on bitZino? I'll comp you as well for helping me out Cheesy
182  Economy / Gambling / Re: Lost all of my bitcoins on bitZino and it provably sucks on: September 11, 2012, 10:25:57 PM
Mostly just involved a lot of going back and forth on the trackpad to make my bets.  It would be great IMO if the button order matched those of the video blackjack machines at a casino.  Since I've played those before, the button order seemed a bit reversed and I stood several times that I really wanted to hit.  Instinct was taking over due to past experience I guess.  Also, there were some times I had to click multiple times to get it to recognize my action and I was worried that I was going to get two cards on a hit instead of one... though that only happened once.

Thanks for the feedback! 0.25 BTC has been comped to your account Cheesy

We are planning on adding keyboard shortcuts (it's been on the backburner for awhile now), so hopefully that should alleviate the "back and forth on the trackpad" issue.

Regarding the button order, I'm not sure if there really is any standard button order: I've seen video poker machines where the Hit button to the right of the Stand button, and I've also seen the opposite. So, we just tried to go with an order that seemed logical. Regardless, I think that keyboard shortcuts will help solve this issue, since the keyboard keys will be customizable (so you'll be able to put the hit key to the right of the stand key if you want).

Regarding the double clicks - thanks for the feedback here, this is really valuable! I think we can solve this UI issue by keep the button disabled for a little bit longer after you click.

Thanks again for all the feedback, and feel free to let me know if you have any more!
183  Economy / Gambling / Re: Lost all of my bitcoins on bitZino and it provably sucks on: September 11, 2012, 09:46:18 AM
I have to say that I was fairly impressed with bitZino overall.  Only tried the blackjack, but other than a few interface quirks, thought it was simple to understand and easy to play.  While I enjoyed my experience, bitZino will have to enjoy my BTC for me as my luck did not quite turn my way.

Sorry that you lost! I'm glad you enjoyed the experience though. If you let me know your username, I'll comp you a quarter BTC to help make up for the loss Smiley

I'd love to hear more about what interface quirks you experienced, so we can fix them. We really want the experience to be as polished as possible, so every bit of feedback helps!
184  Economy / Gambling / Re: bitZino - HTML5 Bitcoin Casino - Provably Fair on: September 10, 2012, 08:37:53 PM
we'll be prioritizing importing private keys after this. From a cursory glance, I think it really shouldn't be that hard, and empowering bitcoin notes would be a huge benefit!

Any chance that is coming anytime soon?

Quick update on this feature: We think we've found a good way to do it using the custom transactions feature of bitcoind version 0.7. So, we will be holding off until 0.7 is launched before launching this feature ourselves.

Along with importing private keys, we're also going to add support for 0 confirmation withdrawals. We will do this in the same way SatoshiDice does: the withdrawal will be built off the output of the deposit transaction, therefore a blockchain that doesn't contain the deposit cannot contain the withdrawal.

So far, we have had a very basic implementation for accepting bitcoin payments. Going forward, we're really excited about building more complex behavior using the power that custom transactions will provide us!
185  Economy / Gambling / Re: bitZino - HTML5 Bitcoin Casino - Provably Fair - Now featuring Roulette! on: September 07, 2012, 06:19:12 PM
Thanks  so much, this is EXACTLY   what I/we were  looking for!

You have officially SILENCED  my sceptic friend!  Peace and quiet at last!! Good Luck making great   waves in the gambling word...and please do be careful with your  COLD STORED COINS!!!

Woot! I'm glad you could follow along with my explanation Smiley

Would it have helped if there was a site which walked you through the process step by step?  I'm thinking of making such a thing.  Something more automatic than having to visit all those different sites to do it manually, but less automatic than the site bitZino provides which shows a few progress bars and says "yep, it's fine".

I'm not sure if that would be useful.  Maybe it's more convincing for people like your friend to go through the steps "manually" for themselves.

Either way, having a neutral 3rd party like myself provide a verification site is likely more convincing than having bitZino verify their own data...

I would love it if you did this!

How often you reshuffle and how many decks you use on Blackjack?

The rules does not state it!!!

Thanks for clarifying, Dooglus!

We really should have these rules explicitly stated though. I'll add them to the rules dropdown.
186  Economy / Gambling / Re: bitZino - HTML5 Bitcoin Casino - Provably Fair - Now featuring Roulette! on: September 05, 2012, 05:06:28 PM
This may be a bit "back to basics" for this thread, but I am going to give it a shot,and see what responses I get:

I am trying to TEST/SHOW bitZino to be Provably Fair to myself and a friend.

So, without programming, and using available third-party (online) tools, how can I CHECK the sequence of shuffles, and how they get manipulated by the player's secret re-hashing (cutting) of the deck.

Is this even possible?

-----------------------

I hope this is not too complicated.  I just want to be able to walk-through, and VERIFY that which you claim is "Provably Fair"

This is a great idea! As you mentioned, Dooglus did write a python script which verifies the secret and outputs the final shuffle of the deck given the Hash(secret), secret and the client_seed. Additionally, we have a javascript hand verifier located at https://bitzino.com/about/fair. If you are inclined to take a deeper look at the code for our verifier, you can view the source of that page and see the javascript verifier - it's just 100 lines of well-commented code.

However, I understand that you may want to verify on your own without relying on having coding expertise or relying on code that is hosted on our own website. To that end, I've outlined the steps to do this below: (unfortunately, there will be just a little bit of "coding", but it's really just copying and pasting certain commands into a javascript console. This is necessary because there isn't an online implementation that I could find of the Fisher-Yates shuffle algorithm)

Step 1: Verify the Hash(secret) is derived from the secret

After playing a hand of any game at bitzino, go to http://www.movable-type.co.uk/scripts/sha256.html, and copy and paste the Secret in to the box. Click on the "Generate Hash" button, and verify that the hash generated on that website matches the Hash(secret) you see on bitzino.

Step 2: Generate the seed from the client_seed and the server_seed

While still on the same website, copy and paste the client_seed into the box, followed directly by the server_seed (the server_seed is part of the Secret). E.g, if the client_seed is "ABC", and the server seed is "123", the box should have "ABC123" in it. (Also, make sure you're copying the client_seed from "Last hand" on bitZino, not from the "Next hand"). Click on the "Generate Hash" button. Now, keep this page open, because we will be using this Hash later.

Step 3: Set up a javascript console with the Mersenne Twister function

Go to http://jsconsole.com. This is a javascript console, and it's where we'll be completing all of the following steps.

Copy and paste all of the code from https://bitzino.com/static/MersenneTwister19937.js into the javascript console. This will initialize the Mersenne Twister function which will be used later on.

If you'd like to verify that the above code is indeed a pristine copy of the Mersenne Twister, you can download the original zip file from http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/VERSIONS/JAVASCRIPT/java-script.html

Step 4: Seed the random number generator

Type the following commands into the jsconsole:

Code:
var seedString = "<hash value from step 2>";
var seed = parseInt(seedString.substring(seedString.length - 8), 16);
var mt = new MersenneTwister19937();
mt.init_genrand(seed);

Note that the first line of code isn't actually <hash value from step 2>, you should replace that part with the value you got from step 2.

Step 5: Set up the initial_shuffle

Create a variable in the jsconsole that is equal to the initial_shuffle from bitzino. (The initial_shuffle is part of the Secret).

Code:
var initialShuffle = "<initial_shuffle>";

Step 6: Reshuffle the deck using the Mersenne Twister RNG, and the Fisher-Yates shuffling algorithm

Copy this code into the jsconsole:

Code:
function shuffle(deck_string, mt) {
    var tmp, new_deck = deck_string.split('');
    for(var i = new_deck.length - 1; i > 0; i--) {
      r = mt.genrand_int32() % (i + 1);
      tmp = new_deck[r];
      new_deck[r] = new_deck[i];
      new_deck[i] = tmp;
    }
    return new_deck.join('');
 }

shuffle(initialShuffle, mt);

At this point, the jsconsole will spit out a value that should be identical to bitZino's final_shuffle.

Final thoughts

I really wish there were an online Fisher-Yates/Mersenne Twister card shuffler, so that every step in this process would be as easy as step 1. If anyone does know of one, please let me know so that I can make this process easier! I also recognize that you are still depending on a lot of code that is just copied directly from me, but I think the fact that it's posted here publicly should show that it is honest, and does what it says it does.

I hope this helps!
187  Economy / Gambling / Re: bitZino - HTML5 Bitcoin Casino - Provably Fair - Now featuring Roulette! on: September 04, 2012, 12:58:13 PM
We've just pushed another round of changes. These are mostly minor, but I wanted to confirm all the issues you brought up that were addressed:

- The homepage now always goes to the previously played game.
- We handle internet failure more gracefully, by adding a timeout to our ajax calls and displaying an alert.
- Fixed the slightly wonky layout of the Roulette table in Chromium (that was due to CSS rounding issues)

Request: 3 card poker. Surprised I am the first.

Sounds good! We've already made some progress here, because we were working on Let it Ride, and were considering adding the 3 card poker bets to it. We're focusing on adding craps next, but we'll work on 3 card poker after that!
188  Economy / Gambling / Re: bitZino - HTML5 Bitcoin Casino - Provably Fair - Now featuring Roulette! on: August 31, 2012, 11:31:40 PM
It is ErebusBat, I just never setup an account before because BJ isn't my game.   Account setup and deposit made... look for 'donations' this weekend Wink

Welcome to the site! I sent you a quarter BTC to thank you for all the feedback you've been providing Smiley

Very nice! I was able to get my 0.005 deposit back and then some! Will definitely come back  Grin

Oh, and made 2 withdrawals, one took > 20 mins, the other was within seconds. Thanks!

Cool, glad you like it! Our system typically sends withdrawals instantly. The main reason for a short delay is if you have unconfirmed transactions. We require 2 confirmations on all your deposits before sending the withdrawal.

Tried it out on my lunch break.  A+! Using mouse to play the inside is easier.  And I like the double all wagers option.  Amazing quick response time!

You never committed on my android app comment.  Doesn't HTML5 have features that make that transference easier?

Nice, I'm glad the UI improvements helped Smiley

HTML5 is great, because it typically just works on mobile web browsers. We do make sure to test out everything on mobile browsers as well, just to make sure it's all working well. We may eventually do native apps in the future, but for now we are just focusing on a good HTML5 experience.

Also you need a 'half bets' with that double bet buttons Smiley

Good point. We want to make sure not to make the interface too cluttered, but this would probably be useful.

Great work, getting covered in the Forbes blog!

One thing I'd really like to see would be a video screencast on youtube or whatever that walks people like me who are "cryptographically challenged" through your "provably fair" system. You should target it for an audience that is intelligent, yet not specifically trained in high-level math or cryptographic theory. This would be a good step in marketing to traditional online gaming customers and may bring more people into the world of bitcoin.

Thanks! Cheesy This is really exciting. Our first major news coverage!

Thanks as well for the feedback on what you find difficult to understand about the provably fair system. I am definitely aware the education around this is one of our bigger hurdles here, so hearing directly from you what concepts you don't understand is definitely very helpful!

We tried to provide a simple explanation on our website, and a more in-depth explanation on our tech blog, but perhaps our simple explanation isn't simple enough. We'll definitely take your suggestions, and probably rewrite parts of the "simple" explanation.
189  Economy / Gambling / Re: bitZino - HTML5 Bitcoin Casino - Provably Fair - Now featuring Roulette! on: August 31, 2012, 08:43:49 AM
We've just pushed a change to add a 4th main button to allow you to double all of your active bets. We also now display the sum of your total much active bets. This should make it easier to quickly see how much you're betting, and also make it easier to vary your bets between spins.

Also, and you may already do this, can you data tag the field so that only the numeric keys show on mobile devices?

This change is now live!

This seems a little patchy.  For example, click on the top edge of the table, between the 12 and 15.  "10 to 15 sixline" pops up as the title.  Click right in the middle of the 'x' in 'sixline' and the box almost never closes.  But click a pixel or two to the left and it does.  I'm not sure what is determining whether the popup closes or not when I click on its title/description.

Ah, good catch! It turns out this was because of the arrow, which is actually just a square div rotated 45 degrees, not having a click handler assigned to it. This resulted in the small triangle at the top of the popup not responding to clicks. This is fixed now.


I just spun the roulette wheel for the first time since your recent changes.  And it's still spinning.  My Internet went out for a while, but it's back now.  I was thinking the wheel might stop when the Internet service came back, but no.

Edit: reloading the page shows my balance back to where it started, so in all likelihood the server never saw my bet.  The "repeat last" button was greyed out, too.  Should the web browser re-submit the bet when Internet service returns?  Because it doesn't appear to.

It does make sense that the wheel would just keep spinning forever, because the response from the server is what triggers the animation to stop.  Also, your bet won't get automatically re-submitted to the server - it just makes a single request.

We can probably handle this situation much more gracefully by adding a timeout to the request, and then alerting you that your internet is likely out. We'll look into doing that.

A suggestion: remember what game I was playing most recently, and take me back to that game when I visit your site.  Currently it always seems to start at blackjack, even though it's able to remember my last roulette bet between sessions.

That's a really good idea! I had thought of doing this when I launched Video Poker a while ago, but never ended up executing it. So, thanks for the reminder!
190  Economy / Gambling / Re: bitZino - HTML5 Bitcoin Casino - Provably Fair - Now featuring Roulette! on: August 31, 2012, 03:22:45 AM
We just pushed a change that fixes many of the bugs people have been mentioning:

- The animation time for fading out lost bets has been lengthened
- The spin button no longer "flashes" in the middle of the spin
- When the popup shows up, the text for the bet is now selected.
- You can now close the popup box by clicking on any of the empty area inside of it. I hope this is a good solution for people that like to bet the inside.

I'm talking about the 'bet per click' box, not the bet sizing box, in case you misunderstood.

Ah yes, I did mis-read your original post. We experimented with adding these buttons next to the Bet-per-click box, but found that they were somewhat confusing - it was unclear if it doubled the bets on the currently table, or if it just doubled the bet-per-click. In the end, we decided that doubling the bet-per-click isn't really necessary, so it was better to just remove that part of the UI altogether.

However, we agree that it would be nice if you could double all of your current bets....

I just noticed I have to click 4 times per spin if I want to double my previous bet

Yeah, this is not ideal. We are exploring a UI to allow you to make actions on all of your bets on the table (something like a "double all by bets" button), because it's pretty clear there is demand for this.

Playing around some more... I think it would be helpful to know how much you have on the table.

Yeah, agreed. We're working on incorporating this into the "double all my bets" UI that we're working on, so stay tuned!

By the way, what's your username? I'll comp you some BTC to thank you for the helpful feedback.

I'm having a difficult time pulling myself away from roulette to post on here.  But Awesome JOB! I'm so excited to see your craps game now.  It's incredible to see this quality of a service in the bitcoin community.

Thanks! Feedback like this helps keeps us going Cheesy

My critique.  The bet box gets in the way for people who like to play the inside.  Maybe i'm the only one.  But i have to hit enter on the key board to get the value to take 1... I should be able to set a default price and click my bet on many options.  If the box had to stay make it vanish when clicking it. But that would just add 1 extra click per bet. But it at least needs more than a key board exit.

I hope that the ability we just added to click anywhere on the popup to dismiss it should help here! Let me know if not. We definitely want to accommodate all players, including those that like to bet the inside Smiley

I added a quarter BTC to your account for the helpul feedback, Kaji.

Thanks to everyone for the feedback!
191  Economy / Gambling / Re: bitZino - HTML5 Bitcoin Casino - Provably Fair - Now featuring Roulette! on: August 30, 2012, 06:11:07 PM
I haven't played your roulette yet, but I just wanted to say thank you for the explanation of how you assess risk of ruin. I found it very interesting.

Thanks! I almost felt bad to launch roulette so shortly after making that post, because I wanted to continue discussing it Wink But instead I had to derail the conversation, haha.
192  Economy / Gambling / Re: bitZino - HTML5 Bitcoin Casino - Provably Fair - Now feturing Roulette! on: August 30, 2012, 05:53:10 PM
Also, and you may already do this, can you data tag the field so that only the numeric keys show on mobile devices?


EDIT:  Here is a link: http://stackoverflow.com/questions/6753600/iphone-development-how-to-display-a-numeric-keyboard

That's a great idea. We don't do that yet, but we definitely should be! We'll add it shortly.

The video poker has a bug - if you press the Bet button while it is greyed out (because you're supposed to hit Draw), the game malfunctions with the following message: Out of Sync You have modified this table in another window Your previous action has not been taken. This table has been refreshed, and you can now continue playing.

A large number of video poker games have the bet/draw button be the same or in the same position, so it is natural to want to click the same position after choosing which cards to hold.

Yikes! That was a bug that got introduced when we launched roulette. Fortunately it was just a display bug. It's been fixed now!

We also pushed out some of the minor bug fixes and tweaks discussed earlier:
- Bet per click is now correctly remembered between hands.
- Reclicking on a bet will increment the bet, rather than dismissing the popup.
  -We decided to not do the change where we only show the popup on the second click - it turned out that this was somewhat of a confusing flow - it was non-obvious why the popup would show sometimes and not other times.
  -We also tweaked the behavior so that the bet is not incremented if the popup isn't already showing unless it's the first click. This allows you to click on a bet to make edits to it without having the bet be modified first.
- The input box gets focus automatically when the bet popup appears (only on non-mobile devices).
- The style of winning bets is changed to have a white drop shadow instead of a red shadow.

Still to do today is some animation timing tweaks, as well as experimentation with hover effects.

Thanks for all the feedback, and keep it coming!
193  Economy / Gambling / Re: bitZino - HTML5 Bitcoin Casino - Provably Fair - Now feturing Roulette! on: August 30, 2012, 05:10:26 PM
When I click on a number to bet, there's a box I can type into to edit the bet size.  It doesn't have keyboard focus until I click on the box.  Could that be changed?  I want to be able to click 'red' then immediately type '27' rather than having to click the text entry box first.

I just realize I never really addressed this in my last post.

We had this behavior at first, but it was really bad on mobile devices, because it brought up the onscreen keyboard, which blocked half the screen. However, I agree that it would be nice on non-mobile devices to have this behavior. I'll see if I can get this to behave ideally on both.
194  Economy / Gambling / Re: bitZino - HTML5 Bitcoin Casino - Provably Fair - Now feturing Roulette! on: August 30, 2012, 05:01:55 PM
Some more ideas for your Roulette UI after a little bit of playing:

1. the popup menu when you place a chip.  This should be gotten rid of for single clicks.  Lots of players like to just throw chips on number spots, and this popup menu gets in the way of just joy-clicking the table.  However, it would make sense for the popup menu to appear if a user has clicked an existing bet, so they can declare whether they are removing it or changing it.

Example behavior: on the spot "27": first click should place 1 chip there (or current setting of "Bet per click") and nothing more.  Second click should place a second chip there (balance permitting), as well as pop up the menu.  Each additional click on the same spot should increase the bet by 1xBetPerClick.

I like this idea a lot. Overall this just seems like a much smoother flow. I'll implement this. Along with Dooglus's recommendations above, I think the overall flow for betting will be much better once we make these changes.

2. Allow bets to be dragged around on the table, including dragging a bet to "my chips" to remove it from the table.

This one may be tough. I think it could potentially get confusing for users too. I'll do some experimentation though and see if it's workable.

3. make the wheel spin slower by default, but add an option so it can be sped up or the spinning "skipped" directly to the end result with a click.

This makes sense.

This fits with a long-standing issue we've been meaning to address which is just providing general animation options for all of our games (ie, fast/slow/no animations).

4. when mousing over Repeat Last, show what bets are about to be Repeated using transparency.

I'll experiment with this. I suspect it could potentially be confusing/overwhelming (I generally don't like to have too much stuff happen on mouseover). You can also always click the "Repeat" button, and then click "Clear" to effectively see a preview.

5. Lengthen the fade time for losing bets - or put a delay in front of it.  They fade away too fast for you to go and see "what you did wrong" (rhetorically of course) or how "close" you were.

This makes sense. I'll do it.

Thanks for the detailed feedback! I added a quarter BTC to your account to show my appreciation Cheesy
195  Economy / Gambling / Re: bitZino - HTML5 Bitcoin Casino - Provably Fair - Now featuring Roulette! on: August 30, 2012, 04:42:52 PM
Please spellcheck the OP, "featuring" should have an A in it.  In casino software, the details matter, and this is an easy fix.

Yikes! I agree - details definitely matter, and I don't want to send the wrong impression with such a silly spelling mistake.

It's fixed now Smiley Thanks!
196  Economy / Gambling / Re: bitZino - HTML5 Bitcoin Casino - Provably Fair - Now feturing Roulette! on: August 30, 2012, 04:23:00 PM
For roulette, the "bet per click" is getting reset to 1 every time I spin.

Ah yes, this is indeed a bug. We have a fix which we'll be pushing out shortly shortly. Thanks!

What's your username on bitZino? I'll comp you some BTC for helping to find this bug.

I agree.  That's a fantastic interface.  I like how you pare the games down to the bare essentials rather than trying to reproduce the physical games.
Thanks Smiley

* I'm not sure about outlining winning bets in red.  Red's somehow a "losing" colour for me, and also suggests something about the red/black result.  I'd pick a colour that isn't red or black.  Perhaps a light (white, cyan, yellow?) colour.  I mean the red outline on the '36' below:



Yeah, now that I think about it, I agree, red is associated with losing. I like your suggestion of white instead, it looks pretty good.

* When I click on the table it places a bet of '1'.  I'd like to be able to click again in the same spot to increment the bet.  So if I want to bet '3', I could just click 3 times.  Currently I have to click once then target the little '+1' button which isn't even always in the same position relative to where I clicked.  Sometimes it's above and sometimes it's below the mouse cursor.

This makes a lot of sense. I'll make this change. The only thing to consider is how to easily close the popup (since that's the current behavior of re-clicking). You can actually just click anywhere on the table to close it, but that's not necessarily obvious. I think I'll add a 'X' to the top right.

Also I'd like to see the 'x2 +1 -1 1/2' buttons next to the 'bet per click' box, just like there are for the bet sizing box for blackjack.

Yeah, this does actually make sense. We're going to have to re-think the popup box somewhat though - I don't want to make it too much bigger. We'll see what we can come up with.

I comped you a quarter BTC, Dooglus for being so helpful with the bug reports and suggestions. Keep it coming though!

Thanks for the feedback everyone, and keep it coming! I love launching new features to this forum, you guys are great!
197  Economy / Gambling / Re: bitZino - HTML5 Bitcoin Casino - Provably Fair on: August 30, 2012, 03:36:48 PM
In order to make our true risk of ruin truly infinitesimal, we have the ability to lower the minimum bet as necessary.

I would suggest also adding the ability to lower the maximum bet.  Wink

Haha, shoot, I knew I was forgetting something Cheesy btw,  I'm pretty sure you're the bet proof-reader I know Wink
198  Economy / Gambling / Re: bitZino - HTML5 Bitcoin Casino - Provably Fair on: August 30, 2012, 01:37:30 PM
We have officially launched Roulette!





I'm really proud of the interface we developed for this game. We have been trying to break away from the common paradigm of simply simulating physical games on a screen. We think we can create much better user interfaces when we utilize all the features that a computer has to offer.

For example, we have been trying to not introduce the chip metaphor into any of our games - we think it's much easier to type a number than drag an drop various chips around the screen. This did pose as somewhat of a challenge for roulette, where chips play an integral part of both how you place your bets as well as how you visualize your bets. But in the end, we think we've created a much better digital representation of roulette than any we've played. Try it out, and let us know if you agree!

Also, like all of our games, roulette is Provably Fair. We utilize cryptography to make it computationally impossible for us to cheat you. You are guaranteed a fair game!

As always, I'm here on the forums, and very receptive to your feedback. If you have any comments at all, please don't hesitate to let me know!
199  Economy / Gambling / Re: bitZino - HTML5 Bitcoin Casino - Provably Fair on: August 30, 2012, 06:20:26 AM
Out of curiosity - what are the maximum bets for your games? Your OP claims 10 BTC as the maximum, but the bankroll required for you to operate with people betting that much has to be massive. Is 10 BTC really the max bet and do you think that's sustainable? Do you actually get much action that high? As I said, I'm more curious (or nosy -- take your pick) than anything.

I'm curious too but wouldn't have had the balls (or lack of tact -- take your pick) to ask.  Smiley

Heh, this is a definitely very interesting question, and I'm happy to talk about it Smiley Risk management is one of the more complicated aspects of running a casino, and I have certainly learned a lot about it since launching bitZino. Fortunately, we've got some smart minds with a background in risk management. Before launching any games we do extensive analysis of the game to ensure that our risk of ruin is infinitesimal. This process is fresh in my head because we've been doing extensive analysis of our soon-to-launch Roulette game (which poses unique challenges with its 35 to 1 bets (more on this below)).

This is a paramount process for any honest casino: if the casino's risk of ruin isn't effectively zero, then you as a player are not only playing against the house-edge, but you're also playing against the risk of the casino going broke.

The statistical math behind risk of ruin calculations is incredibly complicated. While we do utilize concepts such as binomial distributions to double-check certain assumptions, we primarily calculate our risk of ruin by running Monte Carlo simulations. A Monte Carlo simulation is effectively just simulating a random event enough times so that you have an idea of the probability of that event. If you do enough simulations you can get a very accurate estimation of the true odds. This reduces the need for incredibly  complicated math, while also providing us more testing of our actual code (since we run our Monte Carlo simulations against our actual code for the game in question).

So, what odds are we calculating when we do our Monte Carlo simulations? We're not just calculating the odds of the game - we already know that. We are calculating the odds that a player's balance gets above a certain point at any time while continually playing the game and betting the maximum.

So, for example, to set up a Monte Carlo simulation for our single-0 roulette game we create a new player, give them a balance of 0, and have then constantly place a bet of 1 on a single number (which pays 35 to 1). We have them do this 1.5 million times (which is enough for their balance to go irrevocably negative). All the while, we are tracking the maximum value that their balance gets to. We then repeat this entire process 100k times. We can then plot of histogram of the maximum balances of the player, which gives us the effective risk of ruin for various bankrolls:

Risk of Ruin for Single-0 Roulette (player betting 1 on single number)
BankrollRisk of Ruin
081.605%
100017.216%
20003.547%
30000.75%
40000.258%
50000.083%
60000.025%
70000.008%
80000.001%

This chart indicates that if a casino wants to have a less than 0.001% risk of ruin, they must have a bankroll of more than 8000x the maximum bet on a single number.

If you run the same simulation on roulette with the player betting on a 1 to 1 bet (ie, betting on red or on even), the bankroll requirement for the house is significantly lower. We find we only need 300x the maximum bet to keep our risk of ruin well below 0.001%.

I found it interesting how much of a difference a 35:1 bet versus a 1:1 bet affects the risk of ruin. If we used our risk of ruin estimation of the 1:1 bet to calculate the bankroll for our 35:1 bets (ie, if we only had 300x the bankroll of the maximum 35:1 bet), then our risk of ruin would be over 50%!

When we launch roulette, we will initially be conservative and will allow bets of up to 10 BTC on the outer bets, and up to 1 BTC on the inner bets.

You can have a lot higher max bet and lower risk of ruin if you are willing to reduce it as you lose.

Exactly! 0.001% is small, but it's not infinitesimal. In order to make our true risk of ruin truly infinitesimal, we have the ability to lower the maximum bet as necessary. We prefer not to rely on this mechanic though, which is why we shoot for a very low risk of ruin without it.

Also the edge in blackjack can be massive if some players play poorly.

While this is true, we don't rely on this at all when computing our bankroll requirements. Because at any point a player could come and start betting the maximum and playing perfect strategy.

As you can see - we have thought extensively about this problem Cheesy

That was fun to write, but now it's time to get back to launching roulette!
200  Economy / Gambling / Re: bitZino - HTML5 Bitcoin Casino - Provably Fair on: August 26, 2012, 08:09:32 AM
What about using blockchain.info's API to get the balance of the key?

I would prefer not to rely on a third-party if possible. This may end up being one of the most practical solutions though, given the current feature-set of bitcoind.

Armory, which uses the blockchain from bitcoind appears to provide this:

Armory does seem quite promising, but I think they still require the entire blockchain to be stored in ram (which makes sense, how else would they be able to quickly get the balance of any address). I also am wary of the security implications of Armory. It definitely doesn't have as many eyes on it as bitcoind itself has, and just because it uses bitcoind for the underlying networking doesn't mean it is fully secure.

Thanks for the advice everyone! I definitely didn't think this feature would have so many pros and cons involved in the decisions we'd have to make! Right now, I think running 2 copies of bitcoind is sounding like the best solution, but I'm not 100% sold yet.
Pages: « 1 2 3 4 5 6 7 8 9 [10] 11 12 13 14 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!