I need a chess board for my application and I wondering the options to achieve it in Raphael.js.
Should I create 64 squares and connect them together or a single big block and shade it black and white.
I need a chess board for my application and I wondering the options to
Share
I think you can do it this way:
You can describe a cell or box of the board like this:
And to draw the board (modify it to your purpose):
}
Finally, in your HTML code:
The ouput should be this (the gray part is from the browser):