Create a fully functioning Blackjack probability calculator in the Mathematica programming environment. Take as inputs all standard rule variations and number of decks in shoe.
Calculate the expected value of the game (under given rules) and the optimal strategy.
Key considerations will be speed/optimized execution and readability/comments.
This program should work out EXACT statistical probabilities, not Monte Carlo estimates.
1) Complete and fully-functional working program in complete Mathematica source code of all work done.
2) Complete ownership and distribution copyrights to all work purchased.
Mathematica version 5.0