cm-chessboard

Example: Simple chessboards, view only


new Chessboard(document.getElementById("board1"), {
    position: "start"
})
new Chessboard(document.getElementById("board2"), {
    position: "rn2k1r1/ppp1pp1p/3p2p1/5bn1/P7/2N2B2/1PPPPP2/2BNK1RR w Gkq - 4 11",
    orientation: COLOR.black
})