fix: correct plausible score calculation

This commit is contained in:
Hördle Bot
2025-11-26 18:00:59 +01:00
parent 4b96b95bff
commit dede11d22b

View File

@@ -213,7 +213,7 @@ export default function Game({ dailyPuzzle, genre = null, isSpecial = false, max
props: {
genre: genre || 'Global',
attempts: gameState.guesses.length,
score: gameState.score + (correct ? 30 : 20), // Include win + year bonus
score: gameState.score + (correct ? 10 : 0), // Include year bonus if correct
outcome: 'won',
year_bonus: correct ? 'correct' : 'incorrect'
}
@@ -234,7 +234,7 @@ export default function Game({ dailyPuzzle, genre = null, isSpecial = false, max
props: {
genre: genre || 'Global',
attempts: gameState.guesses.length,
score: gameState.score + 20, // Include win bonus only
score: gameState.score, // Score already includes win bonus
outcome: 'won',
year_bonus: 'skipped'
}