Skip to content

Instantly share code, notes, and snippets.

@alexson
Last active January 13, 2022 10:06
Show Gist options
  • Save alexson/681fc4a716e1b5eec3b74371c6669f07 to your computer and use it in GitHub Desktop.
Save alexson/681fc4a716e1b5eec3b74371c6669f07 to your computer and use it in GitHub Desktop.
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