This commit is contained in:
DHTMLGoodies
2017-01-30 13:21:54 +01:00
parent a7a0f37ae0
commit d17e42e7da
15 changed files with 6 additions and 0 deletions

0
Board0x88Config.php Normal file → Executable file
View File

0
CHESS_JSON.php Normal file → Executable file
View File

0
DGTGameParser.php Normal file → Executable file
View File

0
FenParser0x88.php Normal file → Executable file
View File

0
GameParser.php Normal file → Executable file
View File

0
MoveBuilder.php Normal file → Executable file
View File

0
PgnGameParser.php Normal file → Executable file
View File

6
PgnParser.php Normal file → Executable file
View File

@@ -14,7 +14,13 @@ class PgnParser
{
if ($pgnFile) {
$this->pgnFile = $this->sanitize($pgnFile);
if(!file_exists($this->pgnFile)){
throw new Exception("File not found: ". $this->pgnFile);
}
}
$this->_fullParsing = $fullParsing;
$this->gameParser = new GameParser();
$this->pgnGameParser = new PgnGameParser();

0
README.md Normal file → Executable file
View File

0
autoload.php Normal file → Executable file
View File

0
composer.json Normal file → Executable file
View File

0
test/ParserTest.php Normal file → Executable file
View File

0
test/pgn/1001-brilliant-checkmates.pgn Normal file → Executable file
View File

0
test/pgn/problematic.pgn Normal file → Executable file
View File

0
test/pgn/problematic2.pgn Normal file → Executable file
View File