Created
October 25, 2012 11:14
-
-
Save mazikwyry/3952044 to your computer and use it in GitHub Desktop.
Finish pitches algorythm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if cf_min_reached? and ci_min_reached? | |
if pitch_goal_reached? | |
#Combination is successful | |
else | |
if cf_goal_reached? | |
#CF is successful | |
elsif ci_goal_reached? | |
#CI is successful | |
else | |
#All fails | |
end | |
end | |
elsif cf_min_reached? | |
if cf_goal_reached? | |
#CF is successful | |
else | |
#All fails | |
end | |
elsif ci_min_reached? | |
if ci_goal_reached? | |
#CI is successful | |
else | |
#All fails | |
end | |
else | |
All fails | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment