           msg (aget input-el "value")]
 
       ;; TODO: send chat message here
-      (util/log (str "chat message: " msg))
+      ;;(util/log (str "chat message: " msg))
+      (socket/send-chat msg)
 
       (aset input-el "value" ""))))
 

    [cljs.reader :refer [read-string]]
    hiccups.runtime
    client.game.core
    [client.dom :as dom]
    [client.socket :as socket]
    [client.util :as util]))


;; TODO: not finished yet!
(defn- init2 []
  (add-watch client.state/chat :game-screen on-change-chat)
  (reset! initialized false)
  (dom/set-bw-background!)
  (dom/set-page-body! (page-shell))
