private void SetupGames()
        {
            var games = new Dictionary<GameInfo, SingleGameBot>();

            for (int i = 0; i < _registeredPlayers.Count; i++)
            {
                var currentPlayer = _registeredPlayers[i];
                for (int j = i + 1; j < _registeredPlayers.Count; j++)
                {
                    var otherPlayer = _registeredPlayers[j];

                    var bot = new SingleGameBot();
                    games.Add(new GameInfo(_settings) { Player1 = currentPlayer.ToString(), Player2 = otherPlayer.ToString() }, bot);
                    OnGameBotCreated(bot);
                }
            }

            _games = games;
        }
 private void OnGameBotCreated(SingleGameBot gameBot)
 {
     var gameBotCreatedEvent = GameBotCreated;
     if (gameBotCreatedEvent != null)
         gameBotCreatedEvent(this, new GameBotCreatedEventArgs(gameBot));
 }
 public GameBotCreatedEventArgs(SingleGameBot gameBot)
 {
     GameBot = gameBot;
 }