public void GenerateCartForUser(int place) { var user = Users[place]; var cart = PlayCardSet.GenerateRandomCart(); user.Carts.Add(cart); }
public BlackjackGame() { Users = new Dictionary <int, BlackjackUser>(); PlayCardSet = new PlayCardSet(); UsersInQueue = new Dictionary <int, BlackjackUser>(); UserMoved = new Dictionary <BlackjackUser, bool>(); foreach (var i in Enumerable.Range(0, 6)) { Users.Add(i, null); } }