Ejemplo n.º 1
0
        public Outcome TakeTurn(int guess)
        {
            if (CurrentGame == null || CurrentGame.Status != GameStatus.Started)
            {
                throw new InvalidOperationException("No game started yet");
            }

            return(CurrentGame.ProcessTurn(guess));
        }