示例#1
0
        //

        // Game mechanics
        #region GameMechanics
        public PartialViewResult Hit()
        {
            var currentGame = cacheManage.CachedGame();

            manage.AddCard(rnd, currentGame, "player");

            var roundOver = RoundOver(currentGame, false, false);

            GameOver(currentGame);

            cacheManage.CacheGame(currentGame);

            return(PartialView("BlackJack", currentGame));
        }