   alias Bs.Movement
   alias Bs.Snake
   alias Bs.World
-  alias BsWeb.GameForm
-  alias __MODULE__
 
   @max_history 20
 

    end
  end

  @spec done?(t) :: boolean
  def done?(state) do
    state.objective.(state.world)
  end

  @doc """
  Sets the winners to be anyone that is still alive, or whoever died last.
  """
  def set_winners(state) do
    winners = for s <- state.world.snakes, do: s.id
    winners = if length(winners) != 0, do: winners, else: who_died_last(state)
