 
     (reagent/create-class
      {:component-did-mount #(component-did-mount arena cmpnt-state)
+      :component-did-update #(component-did-update arena)
       :component-will-mount #(component-will-mount game-id)
       :component-will-unmount #(component-will-unmount game-id cmpnt-state)
       :display-name "game-play-panel"


(defn- component-did-mount [arena cmpnt-state]
  ;; Add resize listener
  (let [resize-fn (:resize-fn @cmpnt-state)]
    (.addEventListener js/window
                       "resize"
                       resize-fn))
  (resize-canvas arena))

(defn- component-will-mount [game-id]

      (fn [{:keys [game-id]}]
        (let [game (get @games game-id)
              winner (:game/winner game)]
          
          [:div {:class-name root-class}
           [:div.left-game-play-panel {:id "wombat-arena"
                                       :class (when winner "game-over")}
