Skip to content

Add is_valid_move and get_move_obj#299

Open
ptjuanramos wants to merge 2 commits into
jhlywa:masterfrom
ptjuanramos:master
Open

Add is_valid_move and get_move_obj#299
ptjuanramos wants to merge 2 commits into
jhlywa:masterfrom
ptjuanramos:master

Conversation

@ptjuanramos
Copy link
Copy Markdown

Validate if the move is valid, returns true if is a valid move otherwise returns false

+ is_valid_move(move, options)

Get the move_obj to be used in move and is_valid_move functions. Returns null if the move is invalid.

+ get_move_obj: function (move, options)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant