Пример #1
0
 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;
 }
Пример #2
0
 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();
 }