public void BetCash(int amountLost, Groupier croupier)
 {
     if (Cash >= amountLost)
     {
         Cash -= amountLost;
         croupier.BetEven(this, amountLost);
     }
     else
     {
         //throw excpetion OutOfCash
     }
 }
Exemple #2
0
 private static void SimulateMartingale(int amount, int winningCondition)
 {
     Gambler  gambler  = new Gambler(30000);
     Groupier croupier = new Groupier(new Roulete());
 }