   def right,  do: %Point{x: 1,  y: 0}
   def left,   do: %Point{x: -1, y: 0}
 
+  def fields do
+    [:id,
+     :food,
+     :snakes,
+     :dead_snakes,
+     :max_food,
+     :height,
+     :width,
+     :turn,
+     :deaths]
+  end
+
   def moves do
     [
       up(),

defmodule BattleSnake.World do
  alias BattleSnake.{
    Move,
    Point,

  }

  defstruct [
    :id,
    food: [],
    snakes: [],
    dead_snakes: [],
