Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add is_valid_move and get_move_obj #299

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ptjuanramos
Copy link

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