 
 
 (defn home-page []
-  [:div [:h2 "Welcome to passa-paraula"]
+  [:div 
+   [:h2 "Welcome to passa-paraula"]
+   [:div {:id "score"} (str "score:" (:score @app-state))]
    [board-component]
    [:div [:a {:href "#/about"} "go to about page"]]])
 

  (every? #(or (= :failed %) (= :ok %)) (:status @app-state)))

(defn end-game []
  (init-state!)
  (secretary/dispatch! "/end")) 

(defn handle-letter [letter-id status]
  (do
    (change-letter-status letter-id status)
    (jump-next-letter)
    (if (end-game?)
      (end-game)


(defn end-page []
  [:div [:h2 "The End"]
   [:div (str "score:" (:score @app-state))]
   [:div [:a {:href "#/about"} "go to the home page"]]])

(defn current-page []
