public void Initialize()
 {
     poker = new Poker();
     poker.AddNewPlayer("Player1");
     poker.AddNewBot("Pc1");
     poker.AddNewBot("Pc2");
     poker.AddNewBot("Pc3");
     poker.AddNewBot("Pc4");
     poker.InitGame();
 }
 public ActionResult Index(PlayerViewModel viewModel)
 {
     Poker poker = new Poker();
     HttpContext.Session["Poker"] = poker;
     for (int i = 0; (i < viewModel.AmountOfBots && i < 5); i++)
     {
         poker.AddNewBot("Computer " + (i + 1));
     }
     poker.AddNewPlayer(viewModel.Name);
     for (int i = 5; i < viewModel.AmountOfBots; i++)
     {
         poker.AddNewBot("Computer " + (i + 1));
     }
     poker.InitGame();
     Session["state"] = "Playing";
     return View("Create", poker);
 }