private async Task Update() { Thread.Sleep(_gameLogicConfiguration.GameSpeed); if (!_gameState.HasPlayers()) { return; } _gameState.AdvancePlayers(); await _hubContext.Clients.All.SendAsync(GameCommands.Update, _gameState.GetPlayerList()); }