C# Class fitnesse.slim.test.Bowling.Game

ファイルを表示 Open project: jediwhale/fitsharp

Public Methods

Method Description
roll ( int pins ) : void
score ( int frame ) : int

Private Methods

Method Description
isSpare ( int firstBall ) : bool
isStrike ( int firstBall ) : bool
nextBallForSpare ( int firstBall ) : int
nextTwoBallsForStrike ( int firstBall ) : int
twoBallsInFrame ( int firstBall ) : int

Method Details

roll() public method

public roll ( int pins ) : void
pins int
return void

score() public method

public score ( int frame ) : int
frame int
return int