          x_d (- x_1 x_2)
          y_d (- y_1 y_2)
          height (+ TILE-SIZE
-                   (js/Math.sqrt (js/Math.pow x_d 2)
-                                 (js/Math.pow y_d 2)))
+                   (js/Math.sqrt (+ (js/Math.pow x_d 2)
+                                    (js/Math.pow y_d 2))))
          width 20
          angle (* (js/Math.atan2 x_d y_d)
                   (/ -180 js/Math.PI))]


(defn parse-position [player]
  (assoc player
    :position (mapv (comp js/parseInt str/trim)
                    (str/split (:position player) ","))))

(defmulti handle-message! :message)


             [:div {:class "level"}
              level]]))))

(defn player-interface-view [{:keys [name
                                     position
                                     health
                                     score
                                     primary-weapon
                                     secondary-weapon]}
                             owner]
  (reify
    om/IRender
    (render [_]
