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)); }
public void Deliver() { OnComparingBot(this, Chips); _lowReceiver.Receive(Chips.Min(x => x)); _highReceiver.Receive(Chips.Max(x => x)); }