示例#1
0
 private void doMoveIFComputerTurn()
 {
     if (m_Game.Players[(int)m_Playerturn].TypeOfPlayer == eTypeOfPlayer.Computer)
     {
         m_Game.FillLigalMovesList();
         SourceAndTargetMove io_SourceAndTargetMove, io_MoreSkipMove;
         m_Game.ComputerMove(out io_SourceAndTargetMove, out io_MoreSkipMove);
         updateBoard();
         m_Playerturn = m_Game.ChangeTurn();
     }
 }