     #How do I do custom encoders?
     #http://www.cultivatehq.com/posts/serialisation-of-ecto-models-in-phoenix-channels-and-views/
 
-    #broadcast! socket, "rooms_list", %{ rooms: rooms }
     {:reply, {:ok, %{ rooms: rooms }}, socket}
   end
 

                    %{ name: player.name, id: player.id }
                end)

    broadcast! socket, "all_players", players

    {:noreply, socket}
  end

  def handle_in("new_guess", %{"question_id" => question_id, "guess" => guess} = params, socket) do


    # Start the server and game
    BlueSky.QuestionsService.start_link(room_id)

    {:noreply, socket}
  end

  def handle_in("new_room", %{"name" => name, "player_name" => player_name} = params, socket) do
