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