   (:require [om.core :as om :include-macros true]
             [om.dom :as dom :include-macros true]
             [chess.board :as board]))
+
+
 
 (defonce app-state (atom {:board board/start-position}))
 

    (render [_]
      (dom/div #js {:className (piece-class-name p)} nil))))

(defn main []
  (om/root
    (fn [app owner]

        (render [_]
          (apply dom/div #js {:className "board"}
                   (map-indexed
                    (fn [rank r] (apply dom/div #js {:className "row"}
                                   (map-indexed (fn [file s] (om/build square s {:opts {:rank rank :file file}})) r)))
                    (:board app))))))
    app-state
    {:target (. js/document (getElementById "app"))}))

