diff --git a/README.md b/README.md index 3934846..f1d3471 100644 --- a/README.md +++ b/README.md @@ -7,6 +7,8 @@ This is the chess parser used in DHTML Chess at dhtml-chess.com Example of use: +1) Import games from PGN file: + ```PHP setPgnContent($pgn); + $game = $parser->getFirstGame(); + echo json_encode($game); + +```