/// <summary>
 /// Start game
 /// </summary>
 private void StartGame()
 {
     player1 = new Player("Player 1");
     player2 = new Player("Player 2");
     gameLogic = new TicTacToeLogic();
     gameBoard = new TicTacToeBoard(player1, player2, gameLogic);
     //lblResult.Text = "You play first.";
     lblResult.Invoke((MethodInvoker)(() => lblResult.Text = "You play first!"));
 }
        /// <summary>
        /// Form load
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void frmOnePlayer_Load(object sender, EventArgs e)
        {
            String[] users = new String[2];
            users[0] = "You";
            users[1] = "Computer";

            Random rand = new Random();
            int random_index = rand.Next(1);
            humanPlayer = new Player(users[random_index]);
            random_index = ( random_index == 1 ? 0 : 1 );
            computerPlayer = new Player(users[random_index]);
            gameLogic = new TicTacToeLogic();
            gameBoard = new TicTacToeBoard(humanPlayer, computerPlayer, gameLogic);
        }