iterami/Docs.htm/common HTM Projects/chess.js/chess_new(args)
- Creates a new default chess game board with the specified ID.
- Optional time and increment can be set for the created game. Passage of time is currently not handled by common chess.js.
- The "order-black" and "order-white" args handle the arrangement of the back rank for each player.
id
|
| string
|
order_black
| '31245213'
| string
|
order_white
| '31245213'
| string
|
increment
| 10
| number
|
time
| 3600
| number
|