manipogo
manipogo
  • Threads: 1
  • Posts: 7
Joined: Jun 17, 2014
June 17th, 2014 at 3:27:40 PM permalink
Hi All,

New to this forum. At risk of getting squashed, I was hoping for some feedback on a new online craps simulator I have developed. I fell in love with the game after my first trip to Vegas a few years ago and started fiddling with the math. I'm a web developer so I turned it into this: CRAPSFORWARD (link restored by mod after Wizard approval)
Some feedback would be most welcome. I've tried to make it interesting and fun without being overly complicated, but I'll admit it only appeals to a niche audience. So I figure I should probably give that audience something they find useful. Please let me know what you think.

Thanks.
beachbumbabs
beachbumbabs
  • Threads: 101
  • Posts: 14268
Joined: May 21, 2013
June 17th, 2014 at 4:48:17 PM permalink
Quote: manipogo

Hi All,

New to this forum. At risk of getting squashed, I was hoping for some feedback on a new online craps simulator I have developed. I fell in love with the game after my first trip to Vegas a few years ago and started fiddling with the math. I'm a web developer so I turned it into this: link disabled by mod.
Some feedback would be most welcome. I've tried to make it interesting and fun without being overly complicated, but I'll admit it only appeals to a niche audience. So I figure I should probably give that audience something they find useful. Please let me know what you think.

Thanks.



mani,

mani: there are rules on the forum. Here's one you need to know. Rule 3 No free advertising. If you want to advertise on this site then expect to pay. Members in good standing may plug their own product or service, with prior permission. However, "good standing" must be earned. Definitely don't post an ad in your very first message!

Ordinarily, we just blast this type of message out of here and ban the account. However, I appreciate how you wrote the forum, and I think your product might be of interest. I strongly encourage you to contact the Wizard and request permission to advertise and/or present your product.
If the House lost every hand, they wouldn't deal the game.
manipogo
manipogo
  • Threads: 1
  • Posts: 7
Joined: Jun 17, 2014
June 17th, 2014 at 6:33:46 PM permalink
Beach,
Thanks for the heads-up. I will send the boss a message.
Cheers.
beachbumbabs
beachbumbabs
  • Threads: 101
  • Posts: 14268
Joined: May 21, 2013
June 18th, 2014 at 4:12:24 PM permalink
Quote: manipogo

Beach,
Thanks for the heads-up. I will send the boss a message.
Cheers.



mani,

Thanks for respecting the process and getting the Wizard's approval. Link has been restored above. Welcome to the forum!
If the House lost every hand, they wouldn't deal the game.
VCUSkyhawk
VCUSkyhawk
  • Threads: 21
  • Posts: 644
Joined: Sep 22, 2013
June 18th, 2014 at 4:33:08 PM permalink
manipgo,

I may have found a minor flaw. When using the iron cross with a set up of $5 on the place 5 the simulator actually places $6.

BTW I like the format of the site. Good Job!
I got a plan, we take all your picks we reverse them like one of those twilight zone episodes where everything is the opposite. You say "black" we go white.
manipogo
manipogo
  • Threads: 1
  • Posts: 7
Joined: Jun 17, 2014
June 19th, 2014 at 6:56:30 AM permalink
VCUSkyhawk,
I see what you mean. Good catch. Someone also mentioned that the no-risk-don't-come is not working. I am working on that one as well. Thanks.
Zcore13
Zcore13
  • Threads: 41
  • Posts: 3838
Joined: Nov 30, 2009
June 19th, 2014 at 10:32:57 AM permalink
Very cool simulation. Nice work. My thoughts:

It seems to run 100 sessions very quickly. I'd love to see it run more. Maybe give an option of how many sessions one would like it to run?

Question. When you tell it to buy let's say the 6 and 8, could you program it to not buy one of them if that is the point? I believe most people don't buy a number that has been established as the point?



ZCore13
I am an employee of a Casino. Former Table Games Director,, current Pit Supervisor. All the personal opinions I post are my own and do not represent the opinions of the Casino or Tribe that I work for.
manipogo
manipogo
  • Threads: 1
  • Posts: 7
Joined: Jun 17, 2014
June 22nd, 2014 at 3:57:13 PM permalink
Thanks for the feedback Zcore. I capped it at 100 sessions because depending on the bets and starting cash it can take a fair bit of time to run through. Given that it's web based I didn't want to try people's patience or allow settings that might break my server:P

I like the idea of the betting systems that are dependent on the point. Hopefully I'll get a chance to tinker with it a little more this week. I'll post back when I have something to show. Thanks again.
manipogo
manipogo
  • Threads: 1
  • Posts: 7
Joined: Jun 17, 2014
June 27th, 2014 at 10:46:32 AM permalink
I've posted a few fixes to www.crapsforward.com today.

-Bug fixed in "anything but seven" system where $6 was being placed on the 5.
-Bugs fixed in "no risk don't come" - works now.
-Bugs fixed in Don't Come where a ComeOut of 7 didn't resolve the bet.

Thanks for all your feedback. I try to get going on some new features next week.
manipogo
manipogo
  • Threads: 1
  • Posts: 7
Joined: Jun 17, 2014
January 29th, 2015 at 1:16:25 PM permalink
Resurrecting an old post to provide some updates on the craps simulator. I've added a few new features and fixed a few things. As always, constructive feedback is most welcome.

  • The martingale and "reverse" martingale betting system now includes the option to select the maximum bet multiplier. You can decide how many times you're willing to double the bet.
  • Users can select a "cash out" value which stops the simulator when a certain target balance is reached instead of just selecting a time limit.
  • More stats are shown on the results page including win-loss per hour, average bet per roll and total amount bet. These might be useful to users looking to track or estimate casino comps.
  • Also fixed a bug in the way hardways were being handled. Not sure how that one slipped by for so long.


Cheers
Concinnity
Concinnity
  • Threads: 3
  • Posts: 62
Joined: Sep 22, 2014
January 29th, 2015 at 6:40:35 PM permalink
Hi there, manipogo!

What pseudorandom number generator do you use?
manipogo
manipogo
  • Threads: 1
  • Posts: 7
Joined: Jun 17, 2014
January 30th, 2015 at 7:26:10 AM permalink
Hi,
I am using the mt_rand function built into php. It uses the Mersenne Twister algo if that means anything (just looked it up). I was initially using the rand() function which uses the LCG algo (also just looked it up), but it was a bit slower and "less random".
Concinnity
Concinnity
  • Threads: 3
  • Posts: 62
Joined: Sep 22, 2014
January 30th, 2015 at 12:21:45 PM permalink
Quote: manipogo

Hi,
I am using the mt_rand function built into php. It uses the Mersenne Twister algo if that means anything (just looked it up). I was initially using the rand() function which uses the LCG algo (also just looked it up), but it was a bit slower and "less random".



Yes, that means something, thanks.

I feel glad you put "less random" in quotes. Kind of like "less pregnant." :)
AcesAndEights
AcesAndEights
  • Threads: 67
  • Posts: 4300
Joined: Jan 5, 2012
January 30th, 2015 at 1:16:13 PM permalink
Quote: Concinnity

Yes, that means something, thanks.

I feel glad you put "less random" in quotes. Kind of like "less pregnant." :)


Well there are actually degrees of randomness, unlike pregnancy.

Actually I guess this could turn into a fight over pedantry, which I'm trying to avoid. There's true randomness and then there's pseudo-random number generators. The latter can be exploited/exposed if they aren't "good enough." But whatever.
"So drink gamble eat f***, because one day you will be dust." -ontariodealer
Concinnity
Concinnity
  • Threads: 3
  • Posts: 62
Joined: Sep 22, 2014
January 31st, 2015 at 3:35:41 PM permalink
Quote: AcesAndEights

Well there are actually degrees of randomness, unlike pregnancy.

Actually I guess this could turn into a fight over pedantry, which I'm trying to avoid. There's true randomness and then there's pseudo-random number generators. The latter can be exploited/exposed if they aren't "good enough." But whatever.



We never have degrees of randomness. Ever. It exists as a binary condition (like pregnancy). I feel very curious as to why you'd think otherwise. Please, enlighten me!

I agree about what you call "true randomness" (a regrettable term that has lately come into vogue in certain circles that should know better; we don't need the redundant term "true") versus pseudorandom number generators.

I don't consider this pedantry by the way. I consider it vital in the sense that thinking otherwise causes serious harm. I've seen too many exploits based on bad PRNGs (in a different field than gaming -- I have no idea how PRNGs work in the gaming industry, per se).
AcesAndEights
AcesAndEights
  • Threads: 67
  • Posts: 4300
Joined: Jan 5, 2012
January 31st, 2015 at 4:10:39 PM permalink
Quote: Concinnity

We never have degrees of randomness. Ever. It exists as a binary condition (like pregnancy). I feel very curious as to why you'd think otherwise. Please, enlighten me!

I agree about what you call "true randomness" (a regrettable term that has lately come into vogue in certain circles that should know better; we don't need the redundant term "true") versus pseudorandom number generators.

I don't consider this pedantry by the way. I consider it vital in the sense that thinking otherwise causes serious harm. I've seen too many exploits based on bad PRNGs (in a different field than gaming -- I have no idea how PRNGs work in the gaming industry, per se).


Yes, you are correct, pseudo-random number generators are not actually random. So in that respect, it is binary. But a good PRNG is "good enough" to simulate a casino game. A bad PRNG will bite you in the ass, that's for sure.

Some day I hope to use random.org for something. I haven't had the opportunity yet.
"So drink gamble eat f***, because one day you will be dust." -ontariodealer
goatcabin
goatcabin
  • Threads: 4
  • Posts: 665
Joined: Feb 13, 2010
February 3rd, 2015 at 11:31:36 AM permalink
Quote: AcesAndEights

Yes, you are correct, pseudo-random number generators are not actually random. So in that respect, it is binary. But a good PRNG is "good enough" to simulate a casino game. A bad PRNG will bite you in the ass, that's for sure.

Some day I hope to use random.org for something. I haven't had the opportunity yet.



When I first started fooling around with simulating craps, I was using the "rand" function in the standard "C" library. I did an experiment in which I called it many, many times and saved the results, then graphed them. I realized that there was a serious flaw in the function, and that the dice results did not reflect the expected shape of the graph. I don't remember exactly what the flaw was (too many 2s and 12s?), but it was clear. Oops! I bought a library from an outfit called, IIRC, Numerical Recipes, which had a few good RNG's.

BTW, random.org is a very interesting website.
Cheers, Alan Shank "How's that for a squabble, Pugh?" Peter Boyle as Mister Moon in "Yellowbeard"
AcesAndEights
AcesAndEights
  • Threads: 67
  • Posts: 4300
Joined: Jan 5, 2012
February 3rd, 2015 at 12:03:45 PM permalink
Quote: goatcabin

Quote: AcesAndEights

Yes, you are correct, pseudo-random number generators are not actually random. So in that respect, it is binary. But a good PRNG is "good enough" to simulate a casino game. A bad PRNG will bite you in the ass, that's for sure.

Some day I hope to use random.org for something. I haven't had the opportunity yet.



When I first started fooling around with simulating craps, I was using the "rand" function in the standard "C" library. I did an experiment in which I called it many, many times and saved the results, then graphed them. I realized that there was a serious flaw in the function, and that the dice results did not reflect the expected shape of the graph. I don't remember exactly what the flaw was (too many 2s and 12s?), but it was clear. Oops! I bought a library from an outfit called, IIRC, Numerical Recipes, which had a few good RNG's.

BTW, random.org is a very interesting website.


Yes, it's pretty cool. The only problem is that the network latency could become a huge bottleneck if you're running a large number of simulations. In that case, the Mersenne twister or some other PRNG is usually good enough.
"So drink gamble eat f***, because one day you will be dust." -ontariodealer
  • Jump to: