 
 ;; game status
 (def game-state 
-  (r/atom
-   {
-  ;  :board []
-  ;  :neighbor []
-  ;  :states [] ;; :hide, :open, :flag, :question
-
-     :first true
-     :start 0
-    }))
+  (r/atom { :first true :start 0 }))
 
 
 (defn play-sound [result]

          (count))))

(defn complete-game [game]
  (play-sound :completed)
  (-> game
      (assoc-in [:end] :completed)))

(defn fail-game [game]
  (play-sound :failed)
  (-> game
      (assoc-in [:end] :failed)))

;;      (println "Changed seconds")
      (set-tick))))

(defn stop-sound [] (when-let [ audio-obj @playing] (.pause audio-obj)))

(def setting (r/atom { :difficulty :beginner}))

