Пример #1
0
 public void Deliver()
 {
     if (Chips.Min(x => x) == 17 && Chips.Max(x => x) == 61)
     {
         Console.WriteLine($"Bot {Id} is comparing chips 17 and 61");
     }
     LowReceiver.Receive(Chips.Min(x => x));
     HighReceiver.Receive(Chips.Max(x => x));
 }
Пример #2
0
 public void Deliver()
 {
     OnComparingBot(this, Chips);
     _lowReceiver.Receive(Chips.Min(x => x));
     _highReceiver.Receive(Chips.Max(x => x));
 }