       update-flappy
       update-pillars
       collision?
-      #_score))
+      score))
 
 (defn jump [{:keys [cur-time jump-count] :as state}]
   (-> state

   [cljs.core.async :refer [<! chan sliding-buffer put! close! timeout]])
  (:require-macros
   [cljs.core.async.macros :refer [go-loop go]]))
(enable-console-print!)

(defn floor [x] (.floor js/Math x))

(defn translate
  ([start-pos vel time]
     (floor (+ start-pos (* time vel))))
  ([start-pos modulo vel time]
     (floor (+ start-pos (mod (* time vel) modulo)))))

(def horiz-vel -0.15)
(def gravity 0.05)

          :jump-count (inc jump-count)
          :flappy-start-time cur-time
          :initial-vel jump-vel)))

;; derivatives

