Пример #1
0
 private void EndGame(string gameId, string winner, string points, string isWin)
 {
     var stat = new GameStatsLogger();
        stat.EndGame(Int32.Parse(gameId), winner, Int32.Parse(points), Boolean.Parse(isWin));
 }
Пример #2
0
 private int CreateGame(string players)
 {
     var result=JsonConvert.DeserializeObject<string[]>(players);
     var gameStat = new GameStatsLogger();
     return gameStat.StartGame(result);
 }