示例#1
0
        // updates server on checker move (the server updates the opponent player with this player moves)
        public static void UpdateServerWithCheckerMove(DTO_Checker checker, string eatenCheckerID)
        {
            if (GameController.gameType != Constants.GAME_TYPE_PLAY_ONLINE)
            {
                return;
            }

            Thread thread = new Thread(delegate()
            {
                duplexServiceClient.UpdateServerWithCheckerMove(GameController.currentPlayingGameID, GameController.loggedInAccountPlayerPlaying, checker, eatenCheckerID);
            });

            thread.Start();
        }