예제 #1
0
        public ActionResult FullWordGuess(string word)
        {
            GameCoordinator gameCoordinator = new GameCoordinator();
            GameViewModel   model           = gameCoordinator.ViewModel;

            gameCoordinator.ProcessFullGuess(word);

            if (model.GameStatus == GameStatus.Win || model.GameStatus == GameStatus.Lose)
            {
                FinishGame(gameCoordinator);
            }

            return(View("Game", model));
        }