public void SendGuess(string word) { GameSocketRequest.GuessWord(AppContextSingleton.Instance.AppContext.CurrentConnectedUser.UID, CurrentGame.GID, CurrentGame.CurrentRound.ID, word); }
private void Timer_Elapsed(object sender, System.Timers.ElapsedEventArgs e) { GameSocketRequest.StartRound(gameService.CurrentGame.GID, AppContextSingleton.Instance.AppContext.CurrentConnectedUser.UID, gameService.CurrentGame.CurrentRound.ID); AppContextSingleton.Instance.AppContext.Timer.Enabled = false; }
public void StartGame() { GameSocketRequest.StartGame(CurrentGame.GID, AppContextSingleton.Instance.AppContext.CurrentConnectedUser.UID); }
public void AddVirtualPlayer() { GameSocketRequest.AddVirtualPlayer(CurrentGame.GID); }
public void LeaveCurrentGame() { GameSocketRequest.LeaveGame(CurrentGame.GID, AppContextSingleton.Instance.AppContext.CurrentConnectedUser.UID); CurrentGame = new Game(); }