public static IPlayer GetHumanPlayer(GameFactory.GameType gameType, int team)
        {
            IPlayer player = null;

            switch (gameType)
            {
                case GameFactory.GameType.TicTacToe:

                    player = new HumanPlayer(new Token(team, 'X'), team);

                    break;

                case GameFactory.GameType.Connect4:

                    player = new Connect4.Player.HumanPlayer(new Token(team, 'X'), team);

                    break;
            }

            return player;
        }
        public void AccessibleStateTest()
        {
            var state = new TicTacTocState(2);
            Assert.IsFalse(state.IsGameOver());

            IToken token = new Token(1, 'X');
            ITeamIdentifier player = new HumanPlayer(token, 1);

            var list = state.GetPossibleStates(player);

            Assert.AreEqual(4, list.Count);

            state.PlayMove(new TicTacToeMove()
            {
                X = 0,
                Y = 0,
                Token = token
            });

            list = state.GetPossibleStates(player);
            Assert.AreEqual(3, list.Count);
        }