module Model.Board exposing
  ( initBoardSize
  , boardDiagonal
  )

import Model.Vec2 exposing (Vec2)

initBoardSize : Vec2
initBoardSize =
  { x = 500
  , y = 500
  }

boardDiagonal : Vec2 -> Float
boardDiagonal boardSize =
  boardSize.x ^ 2 + boardSize.y ^ 2
    |> sqrt