Piece path and positioning
- Using
pieces.jsto hold thedvalue to specify the path to be drawn for a piece. We start by drawing a rook. To position the it, we use thepositionsdictionary and get the coordinates for where to place the rook path within thesvgelement.
Getting the position:
x = positions["A8"][0]
y = positions["A8"][1]

Commit b61e48f