rewrite Board/Piece