[O] Make heart the default puzzle instead

This commit is contained in:
2024-12-19 15:31:05 -05:00
parent 4ea70b5b2e
commit 4cb9c2c6f6
2 changed files with 2 additions and 4 deletions
-2
View File
@@ -233,8 +233,6 @@
masked.forEach(idx => nMask[idx] = 0)
console.log('Solution does not match')
}
// setTimeout(() => editModeReduce(zeros, n - 1), 100)
// } else setTimeout(() => editModeReduce(zeros, n), 100)
console.log(nMask)
}
+2 -2
View File
@@ -10,7 +10,7 @@
let error: string | null = null;
if (!edit) {
if (!puzzleId) window.location.href = "/?puzzle=meow";
if (!puzzleId) window.location.href = "/?puzzle=heart";
else Backend.get(puzzleId).then((data) => (puzzleData = data)).catch(e => (error = e));
}
</script>
@@ -23,7 +23,7 @@
<div class="overlay">
<div>
{#if puzzleId === null}
<a href="/?puzzle=meow">Redirecting...</a>
<a href="/?puzzle=heart">Redirecting...</a>
{:else if error}
<h2 class="error">Error</h2>
<span>{error}</span>