 defmodule BattleSnake.World do
+  use Mnesia.Repo
+
   alias BattleSnake.{
     Move,
     Point,

  }

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

  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(),
