Posts by Daniele Cavalcante • 1 point
1 post
-
-2
votes1
answer109
viewsQ: How to separate a string from a file that contains a sequence of chess rounds?
I need to read a file that will be encoded as the example: 1.e4 e6 2.Nf3 d5 3.Nc3 Nf6 4.e5 Nfd7 5.d4 b6 6.Bd3 Ba6 7.O-O Be7 8.Ne2 Bxd3 9.Qxd3 c5 10.c4 Nc6 11.cxd5 Nb4 12.Qe4 Nxd5 13.Qg4 Kf8 14.Nf4…