예제 #1
0
 public ActionResult Play(GameState gameState, string move)
 {
     var service = new FarkleService();
     //gameState = service.Play(gameState, move);
     //return View(gameState);
     return null;
 }
예제 #2
0
        public GameState Play(GameState gameState, GameMove move)
        {
            // TODO: Look at the gameState passed in to get the dice values to keep
            // the player can Bank, Roll or they Farkled and must move to the next player
            // modify the scores, current player and return the game state

            return new GameState();
        }
예제 #3
0
 // Tired of playing so quitting early
 // TODO: Consider saving game state for resuming later.
 public void Quit(GameState gameState)
 {
     return;
 }