public List <Reel> GetReelSetForSlotMachine(int slots, List <int[]> s, int numberOfUniqueSymbolsOnReel) { List <Reel> result = new List <Reel>(); for (int i = 0; i < slots; i++) { Reel R = new Reel(numberOfUniqueSymbolsOnReel, s[i]); result.Add(R); } return(result); }
public string SpinReel(Reel reel) { int randomNumber = GetRandomNumber(0, (reel.TotalCountOfAllSymbolsOnReel())); return(reel.GetSymbolOnReelAtPosition(randomNumber)); }