Ejemplo n.º 1
0
        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);
        }
Ejemplo n.º 2
0
 public GameData(DateTime startDate, TableScore tableScore, string turnPlayerName)
 {
     StartDate      = startDate;
     TableScore     = tableScore;
     TurnPlayerName = turnPlayerName;
 }