Compare commits

..
2 Commits
Author SHA1 Message Date
scambier a573aef9e3 Fixed bug where both difficulties had the same final result 2024-01-31 13:05:30 +01:00
scambier 56b7218b80 Fixed typo 2024-01-31 13:05:06 +01:00
2 changed files with 6 additions and 1 deletions
+5
View File
@@ -193,6 +193,11 @@ function selectOperator(o: OperatorType): void {
function reboot(): void {
gameState.value = GameStateType.Playing
if (gameDifficulty.value === GameDifficultyType.Hard) {
// Run an empty rand() call to make sure that both Normal and Hard have different expected results
random()
}
const minValue = 101
const numPlaquettes = isHardMode.value || isPracticeMode.value ? 6 : 5
do {
+1 -1
View File
@@ -29,7 +29,7 @@ export default defineConfig({
manifest: {
name: 'N0mbers',
short_name: 'N0mbers',
description: 'Reach the result in five operations or less',
description: 'Reach the result in five operations or fewer',
theme_color: '#198A42',
icons: [
{