Recent content by fabietto

  1. F

    Software simulator and unexpected results

    That's the function I'm using in my software. According to the documentation (http://stdcxx.apache.org/doc/stdlibref/random-shuffle.html), the elements in the array are shuffled according to a uniform distribution. Seems to me a good and easy way to obtain a proper shuffle. Might be interesting...
  2. F

    Software simulator and unexpected results

    Yes, of course. But this doesn't look to me like a systematic bias advantaging the player or the dealer. Or is it?
  3. F

    Software simulator and unexpected results

    Hi mate... let's see then... :) Thanks for the hint. As I mentioned before, I'm not an expert of the game, so this kind of information about how the "typical" games are played are very important to me. I've modified the simulator, letting the user to decide how to mange the split of aces...
  4. F

    Software simulator and unexpected results

    Hi Sage, thanks for your interest. Please find the sources attached to this message. Unfortunately I haven't found the time tonight to clean up the code, which is a little bit messy. I'll keep working on it during next days, implementing new functions and making it more user-friendly. I think...
  5. F

    Software simulator and unexpected results

    Here we are! :) Having fixed the bug you've correctly pointed out, now my simulator returns results that, if not 100% correct, for sure look much better than before. I attach to this post the graphs resulting from 10,000 iterations of 1,000 hands played with and without using a counting system...
  6. F

    Software simulator and unexpected results

    In case someone could find a mistake that I can't really see, I'm attaching to this post one of the history files generated by my software. I've to say that I'm really getting crazy trying to figure out what is going on! PS: of course I don't pretend anybody to help me, but every bit of help...
  7. F

    Software simulator and unexpected results

    Thanks for your input, Sonny. Unfortunately I think that this is not the case, since I do all the checks for the naturals before actually "playing" the hand (i.e. hit/stand/double/split/etc). But I'll give it a look.
  8. F

    Software simulator and unexpected results

    Thanks for the explanation. It looks like you don't believe that modifying my code in that way (checking for dealer's BJ before the player can act) would be enough to make my code working, but I'll give it a try anyway... :) You're right on the last point. I was wrong in my previous post, since...
  9. F

    Software simulator and unexpected results

    Hi guys, as I announced before, I post here the pseudo-code of the main function of my simulator. place the bet deal the first cards if the dealer has an ace exposed offer insurance check if player has been dealt a natural yes: check if the dealer has been dealt a natural: yes...
  10. F

    Software simulator and unexpected results

    Thank you very much for your prompt reply, John. What was important for me was to have a confirmation that the result I'm getting are clearly wrong. I didn't want to flood with C++ code a blackjack forum (particularly with my first post :p), but if you really insist I can quickly prepare a...
  11. F

    Software simulator and unexpected results

    Dear all, let me briefly introduce myself. My name is Fabio, I'm 27 years old, PhD student in Artificial Intelligence and I recently started to study a few books about blackjack. What I'm trying to do now is to write a simple blackjack software simulator, in order to test the effects coming...
Top