示例#1
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;
        }
示例#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;
        }