     Enum.reject(changeset, delete)
   end
 
-  @spec reload_game_server_state(t) :: game_state
   def reload_game_server_state(%GameForm{} = game_form) do
     game_form
     |> Reset.reset_game_form
     |> to_game_server_state
   end
 
-  @spec to_game_server_state(t) :: game_state
   def to_game_server_state(%GameForm{} = game_form) do
     delay = game_form.delay
     game_form_id = game_form.id

defmodule BsWeb.GameForm do
  alias Bs.GameForm.Reset
  alias Bs.GameState
  alias Bs.World
  alias BsWeb.SnakeForm
  alias __MODULE__


  @game_modes [@singleplayer, @multiplayer]

  defmacro game_modes, do: @game_modes

  schema "Elixir.BsWeb.GameForm" do
    embeds_many :snakes, SnakeForm
