mirror of https://github.com/me50/kukemuna.git
automated commit by check50 [check50=True]
This commit is contained in:
parent
1a5c34e0d1
commit
653c22a705
|
|
@ -43,10 +43,7 @@ int get_score(string word)
|
|||
{
|
||||
word[i] = toupper(word[i]) - 65;
|
||||
}
|
||||
}
|
||||
for (int j = 0; j < length; j++)
|
||||
{
|
||||
score += POINTS[(int) word[j]];
|
||||
score += POINTS[(int) word[i]];
|
||||
}
|
||||
return score;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue