public void JoinGame(string gameId) => TotalTimeByGame.Add(gameId, new Questions());
public void UpdateTotalGameAnswerTime(string gameId, string questionId, double timeToAnswer) { TotalTimeByGame.TryGetValue(gameId, out Questions questions); questions.TryGetValue(questionId, out double answerTime); questions[questionId] = answerTime + timeToAnswer; }