iterami/Docs.htm/common HTM Repos/chess.js/chess_move(args)
- Attempts to move the specified piece to the target location.
- Nothing happens if the move is not valid, unless you override the rule validation.
- Returns the validation done by chess_validate().
| id
|
| string
|
| override
| false
| boolean
|
| piece_x
|
| number 0-7
|
| piece_y
|
| number 0-7
|
| target_x
|
| number 0-7
|
| target_y
|
| number 0-7
|