Пример #1
0
        public static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            IRandomGenerator randomGenerator = new RandomGenerator();
            var     dealer           = new Dealer(randomGenerator);
            var     checkHand        = new CheckHandType();
            var     handTypes        = new HandTypes(randomGenerator);
            IWriter messageBoxWriter = new MessageBoxWriter();
            var     pokerTable       = new PokerTable(dealer, checkHand, handTypes, messageBoxWriter);

            Application.Run(pokerTable);
        }
Пример #2
0
 public HandTypeHandler()
 {
     this.checkHandType = new CheckHandType();
 }
Пример #3
0
 public HandTypeHandler()
 {
     this.checkHandType = new CheckHandType();
 }