summaryrefslogtreecommitdiff
path: root/lib/chessh/ssh/client/board/server.ex
diff options
context:
space:
mode:
authorLogan Hunt <loganhunt@simponic.xyz>2023-01-17 14:00:18 -0700
committerGitHub <noreply@github.com>2023-01-17 14:00:18 -0700
commitbdf99b4ee989df1813745e1dfd2983689b09ca85 (patch)
treef2c1c52cc2d51019b742800c24d5761f32495b95 /lib/chessh/ssh/client/board/server.ex
parent53be77e2c57bac6b861d7c3d1d2d6355816a823b (diff)
downloadchessh-bdf99b4ee989df1813745e1dfd2983689b09ca85.tar.gz
chessh-bdf99b4ee989df1813745e1dfd2983689b09ca85.zip
Persistent game (#5)
* Remove unnecessary server in board * Initial persistent games * Remove done chessh README stuff, warning issue * Show current players and move * Add promotion * Merge default changeset on all status
Diffstat (limited to 'lib/chessh/ssh/client/board/server.ex')
-rw-r--r--lib/chessh/ssh/client/board/server.ex19
1 files changed, 0 insertions, 19 deletions
diff --git a/lib/chessh/ssh/client/board/server.ex b/lib/chessh/ssh/client/board/server.ex
deleted file mode 100644
index 2e480e7..0000000
--- a/lib/chessh/ssh/client/board/server.ex
+++ /dev/null
@@ -1,19 +0,0 @@
-# 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