         return gameBoard != nil ? gameBoard!.dimension : 0
     }
     
-    func calculateStartAndEndPointsForWinningLineThroughPositions(positions: [GameBoard.Position], inRect rect: CGRect) -> (CGPoint, CGPoint) {
+    func pointsForWinningLineThroughPositions(positions: [GameBoard.Position], inRect rect: CGRect) -> (CGPoint, CGPoint) {
         let
         winningRects = calculateCellRectsWithPositions(positions, inRect: rect),
         startRect    = winningRects.first!,




// MARK: - Layout calculation

private extension GameBoardView {
    func calculatePlatformBorderRect() -> CGRect {

        drawMarksInRect(platformRect)
        
        if let winningPositions = winningPositions {
            let (startPoint, endPoint) = pointsForWinningLineThroughPositions(winningPositions, inRect: platformRect)
            drawWinningLineFrom(startPoint, to: endPoint)
        }
    }
