-
-
Save alexson/681fc4a716e1b5eec3b74371c6669f07 to your computer and use it in GitHub Desktop.
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
public bool CheckIsWinner() | |
{ | |
bool isWinner = false; | |
for (var i = 0; i < _scoreList.Count; i++) | |
{ | |
if (score > _scoreList[i]) | |
{ | |
isWinner = true; | |
return isWinner; | |
} | |
} | |
return isWinner; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment