C# Class Farkle.Core.FarkleService

The main service for the business logic of the Game
Show file Open project: BangorDevelopers/Farkle Class Usage Examples

Public Methods

Method Description
Play ( GameState gameState, GameMove move ) : GameState
Quit ( GameState gameState ) : void
StartNewGame ( GameSetup setup ) : GameState

Method Details

Play() public method

public Play ( GameState gameState, GameMove move ) : GameState
gameState GameState
move GameMove
return GameState

Quit() public method

public Quit ( GameState gameState ) : void
gameState GameState
return void

StartNewGame() public method

public StartNewGame ( GameSetup setup ) : GameState
setup GameSetup
return GameState