Last active
July 30, 2016 20:22
-
-
Save isidore/038dcf92a6f3d40afd3e055eee9dbc7c to your computer and use it in GitHub Desktop.
If structure
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
string result; | |
result = Win(); | |
if (result != null) | |
{ | |
return result; | |
} | |
result = Advantage(); | |
if (result != null) | |
{ | |
return result; | |
} | |
result = ScoreNormal(); | |
if (result != null) | |
{ | |
return result; | |
} | |
result = ScorePerson1(); | |
if (result != null) | |
{ | |
return result; | |
} | |
result = ScorePerson2(); | |
if (result != null) | |
{ | |
return result; | |
} | |
result = ScoreTie(); | |
return result; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment