Can this library handle resigning?
alberteddu opened this issue · comments
Alberto commented
I'm testing the library using a PGN with this moves:
[Event "?"]
[Site "?"]
[Date "2013.03.09"]
[White "White"]
[Black "Black"]
[Result "0-1"]
[WhiteElo "1364"]
[BlackElo "1649"]
[TimeControl "1 in 3 days"]
[Termination "Black won by resignation"]
1.e4 c5 {Thematic Game - This is the starting position.}
2.c4 Nc6 3.Nf3 e6 4.Be2 Nf6 5.e5 Ng4 6.d4 cxd4 7.Bf4 Qa5+ 8.Qd2 Bb4 9.Nc3 dxc3 0-1
However a.over?
returns false
.
Enrico commented
At this time the library cannot handle directly resigning. I will add this feature.
Alberto commented
Thank you, and thanks for the library. I may write this myself if it's okay and then send a pull request.
(Ah, ma sei Italiano? Ciao :D)
Enrico commented
[ Si sono ita! Se passi per Padova fai un salto al PIP (http://www.programmersinpadua.it/) ]
Enrico commented
I've updated the library. Now with your example the game should be over. If you can try if it works so I can close this issue.
Alberto commented
It works. Thanks, that was quick. :)