adding kill button

This commit is contained in:
2026-03-03 14:30:15 -07:00
parent 4ac6c09759
commit 60714f9afd
6 changed files with 86 additions and 6 deletions

View File

@@ -47,6 +47,8 @@ defmodule BackendWeb.ConnectedUserChannel do
end
@impl true
@spec handle_in(<<_::48, _::_*8>>, map(), any()) ::
{:noreply, any()} | {:reply, :ok, Phoenix.Socket.t()}
def handle_in("join_game", %{"name" => name}, socket) do
Logger.info("Player '#{name}' joining game on #{node()}")