Minor refactoring

This commit is contained in:
DHTMLGoodies
2013-01-17 15:11:36 +01:00
parent 5396570fd6
commit 9ff7fb1998

View File

@@ -112,13 +112,7 @@ require_once("MoveBuilder.php");
require_once("Board0x88Config.php");
require_once("../CHESS_JSON.php");
echo "<p>";
#$parser = new PgnParser('ChessUserRoles/winning-chess-sacrifices-and-combinations.pgn');
$parser = new PgnParser('../ChessUserRoles/alf2.pgn');
echo "<br><br>";
$parser = new PgnParser('file.pgn');
$games = $parser->getGames();
echo json_encode($games[0]);
echo "<br><br>";