Compare commits
2 Commits
v0.1.0.11
...
0ebb61515d
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0ebb61515d | ||
|
|
dede11d22b |
@@ -19,7 +19,7 @@ export default function AppFooter() {
|
|||||||
<a href="https://digitalcourage.social/@elpatron" target="_blank" rel="noopener noreferrer">
|
<a href="https://digitalcourage.social/@elpatron" target="_blank" rel="noopener noreferrer">
|
||||||
@elpatron@digitalcourage.social
|
@elpatron@digitalcourage.social
|
||||||
</a>
|
</a>
|
||||||
{' '}- for personal use among friends only!
|
{' '}- prototype for personal use among friends only!
|
||||||
{version && (
|
{version && (
|
||||||
<>
|
<>
|
||||||
{' '}·{' '}
|
{' '}·{' '}
|
||||||
|
|||||||
@@ -213,7 +213,7 @@ export default function Game({ dailyPuzzle, genre = null, isSpecial = false, max
|
|||||||
props: {
|
props: {
|
||||||
genre: genre || 'Global',
|
genre: genre || 'Global',
|
||||||
attempts: gameState.guesses.length,
|
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',
|
outcome: 'won',
|
||||||
year_bonus: correct ? 'correct' : 'incorrect'
|
year_bonus: correct ? 'correct' : 'incorrect'
|
||||||
}
|
}
|
||||||
@@ -234,7 +234,7 @@ export default function Game({ dailyPuzzle, genre = null, isSpecial = false, max
|
|||||||
props: {
|
props: {
|
||||||
genre: genre || 'Global',
|
genre: genre || 'Global',
|
||||||
attempts: gameState.guesses.length,
|
attempts: gameState.guesses.length,
|
||||||
score: gameState.score + 20, // Include win bonus only
|
score: gameState.score, // Score already includes win bonus
|
||||||
outcome: 'won',
|
outcome: 'won',
|
||||||
year_bonus: 'skipped'
|
year_bonus: 'skipped'
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user