YAMLify section 11 (hints).
This commit is contained in:
parent
b37f9f4b2d
commit
ddb0df85b3
5 changed files with 128 additions and 46 deletions
2
score.c
2
score.c
|
@ -89,7 +89,7 @@ long score(enum termination mode)
|
|||
/* Deduct for hints/turns/saves. Hints < 4 are special; see database desc. */
|
||||
for (long i = 1; i <= HNTMAX; i++) {
|
||||
if (game.hinted[i])
|
||||
score = score - HINTS[i][2];
|
||||
score = score - hints[i-1].penalty;
|
||||
}
|
||||
if (game.novice)
|
||||
score -= 5;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue