Exemplo n.º 1
0
 //Example of a JsonResult
 public JsonResult NewGame(GameSetup gameSetup)
 {
     return Json(
                new {
                    GameState = new GameState()
                });
 }
Exemplo n.º 2
0
 public ActionResult NewGame(GameSetup setup)
 {
     var service = new FarkleService();
     var gameState = service.StartNewGame(setup);
     //return View("Play", gameState);
     return null;
 }
Exemplo n.º 3
0
 public GameState StartNewGame(GameSetup setup)
 {
     return new GameState();
 }
Exemplo n.º 4
0
 public GameState StartNewGame(GameSetup setup)
 {
     return(new GameState());
 }