예제 #1
0
        private bool checkIsValidTurnAndMove(int i_RowDestination, int i_ColomnDestination)
        {
            int[] startLocation       = new int[] { boardSquareActive.SquareRow, boardSquareActive.SquareCol };
            int[] destinationLocation = new int[] { i_RowDestination, i_ColomnDestination };

            bool isValidMove = r_CheckersLogic.IsPerformedHumanMove(startLocation, destinationLocation);

            if (!isValidMove)
            {
                inValidMessageBox();
            }

            return(isValidMove);
        }