check the piece is on the grid
Change the border --> board. Also add filled  piece in the grid to color red
add class dy-filled-piece if the piece on the grid
update the variable to match the name and side of the grid
add insert piece in the grid server
Add new piece when the old piece is inserted to grid