Compare commits

..
4 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
scambier 23e7cbe712 Updated dependencies 2023-11-26 11:17:36 +01:00
scambier e4127bbf34 Removed "wip" mentions 2023-11-26 11:17:27 +01:00
6 changed files with 1164 additions and 1022 deletions

No files matched your search

+1155 -1018
View File
File diff suppressed because it is too large. Load diff
+1 -1
View File
@@ -8,7 +8,7 @@
</RouterLink>
<h1
class="z-20 py-2 font-mono text-3xl text-center bg-stone-300 dark:bg-stone-900">
N<span class="text-cyan-500">0</span>mbers<span class="text-xs">alpha</span>
N<span class="text-cyan-500">0</span>mbers
</h1>
<button @click="isSideMenuVisible = true">
<IconMenu class="text-xl btn" />
+1 -1
View File
@@ -12,7 +12,7 @@
"dailyDescription": "The daily challenge changes every day at midnight (CET), and is common to all players.",
"share": "Share",
"finishDailyToPlayRandom": "Finish the daily challenge to unlock.",
"gameDescription": "Combine the required numbers to reach the result.<br><strong>Game under development, some features are missing or changing.</strong>",
"gameDescription": "Combine the required numbers to reach the result.",
"randomDescription": "A challenge at random, just for fun.",
"copiedInClipboard": "Copied in clipboard",
"soon": "Soon",
+1 -1
View File
@@ -9,7 +9,7 @@
"impossible": "☠",
"dailyGame": "Défi quotidien",
"randomGame": "Nombre au hasard",
"gameDescription": "Combinez les nombres imposés afin d'atteindre le résultat.<br><strong>Jeu en cours de développement, certaines fonctionnalités sont manquantes ou changeantes.</strong>",
"gameDescription": "Combinez les nombres imposés afin d'atteindre le résultat.",
"dailyDescription": "Le défi quotidien change chaque jour à minuit (CET), et est commun à tous les joueurs.",
"randomDescription": "Une partie au hasard, pour le plaisir.",
"share": "Partager",
+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: [
{