예제 #1
0
 //.Beginning of the game
 public void Start()
 {
     Bet b = new Bet();
     Console.WriteLine("Flip a coin. Best of three and you win.");
     bet = b.placeBet(); //.Gets the users bet and holds tehe information in bet
     flip();
 }
예제 #2
0
        private int[] n = new int[3]; //.Holds dealer score [0], player score [1] and bet information [2]

        #endregion Fields

        #region Methods

        //.Beginning of the game
        public void Start()
        {
            Bet b = new Bet();
            Console.WriteLine("Welcome to Black Jack.\nRemember in this, dealer always wins.");
            n[2] = b.placeBet();
            dealer();
            player();
            getResult(n[0], n[1]);
        }