     "game:" <> id = socket.topic
     game = Game.get(id)
 
-    HTTPoison.start
+    Api.start
 
     spawn fn ->
       game = Game.reset_world game

    Snake,
    World,
  }
  alias BattleSnakeServer.{
    Game,
  }
  use BattleSnakeServer.Web, :channel

  def join("game:" <> game_id, payload, socket) do

  end

  def make_move world do
    moves = for snake <- world.snakes do
      move = Api.move(snake, world)
      {snake.name, move.move}
    end

    moves = Enum.into moves, %{}
