private void setADefaultGame() { rows = 5; columns = 5; LowestBound = 1; HighestBound = 75; numberOfPlayer = 2; caller = new BingoApp.Factories.Caller(HighestBound).caller; players = new List <BingoApp.Entities.BingoCard>(); rowRangeList = BingoApp.Services.BingoCard.GetDefaultRange(); for (int i = 1; i <= numberOfPlayer; i++) { player = new BingoApp.Factories.BingoCard(rows, columns, i.ToString(), rowRangeList).bingoCard; players.Add(player); BingoApp.Services.BingoCard.Print(player); } }
public void GivenIHaveABingoCaller(Table table) { range = table.CreateInstance <BingoApp.Entities.Range>(); caller = new BingoApp.Factories.Caller(range.length).caller; }