static void Main(string[] args) { BullsAndCowsPlayerOne playerOne = new BullsAndCowsPlayerOne(6); playerOne.Run(); Console.ReadLine(); }
static void Main(string[] args) { BullsAndCowsPlayerOne playerOne = new BullsAndCowsPlayerOne(4); playerOne.NotifyEvent += PrintPlayerState; playerOne.UserInputEvent += Console.ReadLine; playerOne.Run(); //BullsAndCowsPlayerTwo playerTwo = new BullsAndCowsPlayerTwo(4); //playerTwo.NotifyEvent += PrintPlayerState; //playerTwo.UserInputEvent += Console.ReadLine; //playerTwo.Run(); Console.ReadLine(); }