public static TableScore Create(IEnumerable <string> users, int startScore) { var tableScore = new TableScore(); foreach (var user in users) { var listScore = new List <int> { startScore }; tableScore.Table.Add(user, listScore); } return(tableScore); }
public GameData(DateTime startDate, TableScore tableScore, string turnPlayerName) { StartDate = startDate; TableScore = tableScore; TurnPlayerName = turnPlayerName; }