Esempio n. 1
0
        /* returns the difference of possible moves for the players */
        private int Mobility(OthelloBoard board)
        {
            int ret = board.CountValidMoves();

            board.CurrentPlayer = board.OtherPlayer;
            ret -= board.CountValidMoves();
            board.CurrentPlayer = board.OtherPlayer;

            return(ret);
        }