C# Class ArmedCards.BusinessLogic.DomainServices.GamePlayerCard.CalculateDrawCount

Implementation of Base.ICalculateDrawCount
Inheritance: Base.ICalculateDrawCount
Show file Open project: kwmcrell/ArmedCards

Public Methods

Method Description
Execute ( Entities question, List players ) : Int32>.Dictionary

Calculate the number of cards each player needs to draw in order to have a full hand

Private Methods

Method Description
Execute ( Entities question, Int32 playerCardCount ) : Int32

Calculates the number of cards needed for a single player

Method Details

Execute() public method

Calculate the number of cards each player needs to draw in order to have a full hand
public Execute ( Entities question, List players ) : Int32>.Dictionary
question Entities The question card for the round
players List List of players in the game
return Int32>.Dictionary