C# Class PivotalPoker.Models.Game

Each story has one game
Mostra file Open project: cheezburger/pivotal-poker Class Usage Examples

Public Methods

Method Description
AddPlayer ( Player player ) : void
Game ( ) : System
GetCards ( ) : IEnumerable
InvokeConsensus ( ) : void
Play ( Card card ) : void
Reset ( ) : void

Private Methods

Method Description
CheckForConsensus ( ) : void
GetPoints ( ) : int

Method Details

AddPlayer() public method

public AddPlayer ( Player player ) : void
player Player
return void

Game() public method

public Game ( ) : System
return System

GetCards() public method

public GetCards ( ) : IEnumerable
return IEnumerable

InvokeConsensus() public method

public InvokeConsensus ( ) : void
return void

Play() public method

public Play ( Card card ) : void
card Card
return void

Reset() public method

public Reset ( ) : void
return void