   (: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 [_]
          (apply dom/div #js {:className "board"}
                   (map-indexed
                    (fn [i r] (apply dom/div #js {:className "row"}
                                   (map-indexed (fn [j s] (dom/div #js {:className "square" :id (board/from-board-ks j i)}
                                                         (if s
                                                           (om/build piece s)))) r)))
                    (:board app))))))
    app-state
    {:target (. js/document (getElementById "app"))}))

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

(defn square [s owner {:keys [rank file on-click]}]
  (reify
    om/IRender
    (render [_]
      (dom/div
       #js {:className "square" :id (board/from-board-ks file rank)}
       (if s
         (om/build piece s))))))

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