public ActionResult Check(Poker poker)
 {
     if (poker.IsEndGame)
     {
         return View("EndGame", poker);
     }
     poker.ActivePlayer.Check();
     poker.NextPlayer();
     return PartialView("PartialGame", poker);
     //return View("Create", poker);
 }
 public ActionResult Raise(int amount, Poker poker)
 {
     if (poker.IsEndGame)
     {
         return View("EndGame", poker);
     }
     try
     {
         poker.ActivePlayer.Bet(amount);
         poker.NextPlayer();
     }
     catch (InvalidOperationException e)
     {
         TempData["message"] = $"{e.Message}";
         return View("Create", poker);
     }
     return View("Create", poker);
 }
        public ActionResult Fold(Poker poker)
        {
            if (poker.IsEndGame)
            {
                return View("EndGame", poker);
            }
            poker.ActivePlayer.Fold();
            poker.NextPlayer();
            TempData["PokerController"] = this;

            return View("Create", poker);
        }
 public ActionResult BotDecision(Poker poker)
 {
     if (poker.IsEndGame)
     {
         return View("EndGame", poker);
     }
     if (!poker.ActivePlayer.Folded)
     {
         Bot b = poker.ActivePlayer as Bot;
         b.MakeDecision(poker.Players.Count);
     }
     poker.NextPlayer();
     return PartialView("PartialGame", poker);
 }