Exemple #1
0
        public void ValidateMoves()
        {
            var movementsJson = _movementsSource.GetMovementsFromSource();
            var movements     = _movementsParser.SerializeChessPieces(movementsJson);

            _validator.checkMoves(movements); //receives movement list
            //internamente el validator tiene la tabla y revisa si los movimientos son validos
        }