C# Class TennisKataSoC.TennisGame

Mostrar archivo Open project: goeran/Katas Class Usage Examples

Public Methods

Method Description
GetScore ( ) : String
Player1Scores ( ) : void
Player2Scores ( ) : void

Private Methods

Method Description
ConvertScoreToString ( int score ) : String
IsAdvantagePlayer1 ( ) : bool
IsAdvantagePlayer2 ( ) : bool
IsDeuce ( ) : bool
IsWinPlayer1 ( ) : bool
IsWinPlayer2 ( ) : bool

Method Details

GetScore() public method

public GetScore ( ) : String
return String

Player1Scores() public method

public Player1Scores ( ) : void
return void

Player2Scores() public method

public Player2Scores ( ) : void
return void