Loading moves from the list

Sep 24, 2013 at 4:28 PM
Hi Gregory,

I have been using your library in my home made program and I find it very good, Thanks for the great job.
However I have recently experienced problem with:
 string[] lines = System.IO.File.ReadAllLines(@"C:\_temp\mymoves.txt");

        foreach (string line in lines)
        {                                
            NewChessboard.ChessBoardGui.Validation.Move(line);
        }
The file mymoves.txt contains:
e4
e5
Nf3
Nc6
Bc4
Bc5
O-O
Nf6
d3
O-O

The problem is that all the moves after O-O are considered to be incorrect. It gets to the state where there is illegal move of BlackKing/WhiteKing????.

Any idea why it’s might be happening?

Rgds,