 (defn- game-deployed
   "After the game was deployed"
   [data]
+  (game-played data))
+
+(defn- game-played
+  "After the game was deployed"
+  [data]
   (state/set-state :game-data data)
+  (state/set-state :original-game-data data)
   (state/set-state :current-actions nil)
   (state/set-state :processing-action nil))
 

      (empty? (get-in state [:original-game-data "board" "stash" player-code])) "disabled"
      :else "")))

(defn- render-action-console
  "Renders the action management console"
  [state]

    (dom/input #js {:type "text" :id "newAction" :className "form-control"})
    (dom/button #js {:id "resetActionButton" :onClick reset-actions :className "btn btn-default"} "Reset")
    (dom/button #js {:id "addActionButton" :onClick add-action :className "btn btn-info" :disabled (add-action-disabled state)} "Add")
    (dom/button #js {:id "deployButton" :onClick deploy-game :className "btn btn-info" :disabled (deploy-disabled state)} "Deploy")
    (dom/button #js {:id "playButton" :onClick play-game :className "btn btn-info" :disabled (play-disabled state)} "Play")))

(defn- render-game
  "Renders the index page"
