GameLoader.loadNextGame() stops parsing if a isEndGame(line) results true. But this may happen also in a move comment (e.g. which refers to an other game with result). Of course, this rarely happens, but it does happen.
isEndGame(line) must be followed by a check on a subsequent blank line.
GameLoader.loadNextGame() stops parsing if a isEndGame(line) results true. But this may happen also in a move comment (e.g. which refers to an other game with result). Of course, this rarely happens, but it does happen. isEndGame(line) must be followed by a check on a subsequent blank line.