コード例 #1
0
        public void TurnOfPc()
        {
            int row1, col1, row2, col2;

            m_PlayGame.PcOneMove(out row1, out col1);
            m_PlayGame.PcOneMove(out row2, out col2);
            Ex02.ConsoleUtils.Screen.Clear();
            showBoard();
            Console.WriteLine("PC TURN!");
            System.Threading.Thread.Sleep(2000);

            if (m_PlayGame.AddPointsIfCorrectAns(row1, col1, row2, col2, eCurrentPlayer.Player2))
            {
                Console.WriteLine("Pc had a match!");
            }
            else
            {
                Console.WriteLine("Pc didn't has a match!");
            }
            System.Threading.Thread.Sleep(2000);
        }