renames Board.squareHighlightTypes to highlightTypes