throwing exception if not valid move in move method

This commit is contained in:
DHTMLGoodies
2017-04-15 20:24:49 +02:00
parent 0e2544f133
commit 9490f2cd09
4 changed files with 29 additions and 4 deletions

View File

@@ -23,7 +23,7 @@ class CHESS_JSON {
const GAME_ECO = 'black';
const PGN_KEY_ACTION_ARROW = "ar";
const PGN_KEY_ACTION_HIGHLIGHT = "hl";
const PGN_KEY_ACTION_HIGHLIGHT = "sq";
protected static $jsKeys = array('MOVE_FROM', 'MOVE_TO', 'MOVE_NOTATION', 'FEN','MOVE_COMMENT',