+ pieces(color, x, y) {
+ const targets = {
+ 's': {"class": "target-pawn", moves: []},
+ 'u': {"class": "target-rook", moves: []},
+ 'o': {"class": "target-knight", moves: []},
+ 'c': {"class": "target-bishop", moves: []},
+ 't': {"class": "target-queen", moves: []},
+ 'l': {"class": "target-king", moves: []}
+ };
+ return Object.assign(
+ { 'g': {"class": "target"} }, targets, super.pieces(color, x, y));