I posted this on nekochan years ago. At one time it was my intent to recreate all the simulations that Julian Braun of IBM corporation did to support Lawrence Revere's book "Playing Blackjack as a Business," but so far the only one I've recreated is Braun's simulation of how many times a player will be dealt each possible hand versus every possible dealer's upcard in one million hands of blackjack. So, in this simulation the player's two card hand is down the left column, the dealer's up card is the top row. The code Braun wrote for his simulations is lost to history, but I know he coded in Fortran. I assume he ran the million hand simulation many, many times and then averaged the result. My simulation doesn't do that, but you can run it as many times as you like. If you run it too many times you'll overflow the widget size that holds the numbers. Motif will resize it's widgets to fit the number it's supposed to hold, but if you use that feature it is SLOW SLOW SLOW, so in this simulation it's turned off and all the widgets are hard coded to a size that never changes. This runs really fast on my Linux box but molasses slow on my Octane2, which has 8 gig of ram and two 600MHz R16000's. Oh well. Tips on compiling are at the top of the file. If you choose to compile and run this, thanks. If not, thanks anyway!