             [:canvas {:id canvas-id
                       :width dimensions
                       :height dimensions}]]
-           [right-game-play-panel info messages]]))})))
+           [right-game-play-panel info messages user]]))})))

                                  :show-overlay? false}]))

(defn right-game-play-panel
  [info messages]
  (let [winner (:game-winner @info)]
    ;; Dispatch winner modal if there's a winner
    (when winner
      (show-winner-modal winner))

    [:div.right-game-play-panel


      [max-players info]
      [ranking-box info]]

     (when (> (count user-bots) 0)
       [:div.chat-panel
        [chat-title]
        [chat-box @game-id messages info]])]))

(defn game-play []
  (let [dimensions (get-arena-dimensions)
        arena (re-frame/subscribe [:game/arena])
        info (re-frame/subscribe [:game/info])
        messages (re-frame/subscribe [:game/messages])
        user (re-frame/subscribe [:current-user])]


    ;; TODO This should come from the router
