Rename getPieces to getPiecePositions