Add get-board-piece wrapper function