public JsonResult BeginStatCalculator(int num) { var numPlayers = 2; var Game = new Game(); var outcome = Game.PlayRounds(num); ViewBag.PlayerWins = outcome.PlayerWins; ViewBag.Timers = outcome.Timers; var response = Json(outcome.Timers); return response; }
public ActionResult RunDllTest3() { var numPlayers = 2; var Game = new Game(); var outcome = Game.PlayRounds(1); ViewBag.PlayerWins = outcome.PlayerWins; ViewBag.Timers = outcome.Timers; return View(); }