Exemplo n.º 1
0
        public void CatchUpGame()
        {
            // play the moves
            if (m_game.Turns.Count > 0)
            {
                foreach (GoTurn turn in m_game.Turns)
                {
                    m_gtpEngine.PlayMove(turn.Move.Color, turn.Move.Point.X, turn.Move.Point.Y);
                }
            }

            // now make pachi play
            if (m_game.GetToMove() != PlayerColor)
            {
                GenerateMove(m_game.GetToMove());
            }
        }