summaryrefslogtreecommitdiff
path: root/lib/chessh/ssh/client/board
diff options
context:
space:
mode:
authorSimponic <loganhunt@simponic.xyz>2023-01-11 09:54:05 -0700
committerSimponic <loganhunt@simponic.xyz>2023-01-11 09:54:05 -0700
commit2ce03d4796ad54f332c70ff88f0a9f3a164bbc4a (patch)
treecb434c2ca105490a3954298c6b69dea3dc576427 /lib/chessh/ssh/client/board
parent779c75dbe44516c0e1911cf8a56698a1508466b7 (diff)
downloadchessh-2ce03d4796ad54f332c70ff88f0a9f3a164bbc4a.tar.gz
chessh-2ce03d4796ad54f332c70ff88f0a9f3a164bbc4a.zip
Checkpoint\?
Diffstat (limited to 'lib/chessh/ssh/client/board')
-rw-r--r--lib/chessh/ssh/client/board/server.ex19
1 files changed, 19 insertions, 0 deletions
diff --git a/lib/chessh/ssh/client/board/server.ex b/lib/chessh/ssh/client/board/server.ex
new file mode 100644
index 0000000..2e480e7
--- /dev/null
+++ b/lib/chessh/ssh/client/board/server.ex
@@ -0,0 +1,19 @@
+# defmodule Chessh.SSH.Client.Board.Server do
+# use GenServer
+#
+# defmodule State do
+# defstruct game_id: nil,
+# binbo_pid: nil
+# end
+#
+# def init([%State{game_id: game_id} = state]) do
+# {:ok, binbo_pid} = GenServer.start_link(:binbo, [])
+#
+# :syn.join(:games, {:game, game_id})
+# {:ok, state}
+# end
+#
+# def handle_cast({:new_move, attempted_move}, %State{game_id: game_id} = state) do
+# {:no_reply, state}
+# end
+# end