aboutsummaryrefslogtreecommitdiff
path: root/src/Board.elm
blob: fa544d843ba9b541976bc132ed4b9ccb47a33644 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
module Board where

import Vec2 (Vec2)

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

boardDiagonal : Float
boardDiagonal =
  let x = boardSize.x
      y = boardSize.y
  in  sqrt(x^2 + y^2)