public List <Door> MakeDoors() { var winnerDoorIndexNumber = _randomChooser.RandomNumber(0, 3); var choosenDoorIndexNumber = _randomChooser.RandomNumber(0, 3); var doors = new List <Door>() { new Door(), new Door(), new Door() }; doors[winnerDoorIndexNumber].HasPrize = true; doors[choosenDoorIndexNumber].HasBeenChoosen = true; return(doors); }
public Card TakeOneCard() { var random = _randomChooser.RandomNumber(0, Cards.Count); Console.WriteLine($"AAAAAAAAA {random}"); var card = Cards[random]; Cards.Remove(card); return(card); }