예제 #1
0
파일: Agent.cs 프로젝트: prezz/Fuzzy-Gammon
        public Agent( GammonInterface game )
        {
            m_GUI = new AgentGUI( "Agent " + (++m_InstanceCounter) );
            m_Rand = new Random();
            m_BgGame = game;
            m_MoveRepresentationList = new MoveRepresentationList();

            if ( m_MoveRepresentationGenerator == null )
                m_MoveRepresentationGenerator = new MoveRepresentationGenerator( game );

            LoadPlugins();
            OutputMovesAndScore = true;
        }
예제 #2
0
        public Agent(GammonInterface game)
        {
            m_GUI    = new AgentGUI("Agent " + (++m_InstanceCounter));
            m_Rand   = new Random();
            m_BgGame = game;
            m_MoveRepresentationList = new MoveRepresentationList();

            if (m_MoveRepresentationGenerator == null)
            {
                m_MoveRepresentationGenerator = new MoveRepresentationGenerator(game);
            }

            LoadPlugins();
            OutputMovesAndScore = true;
        }