Skip to content

Commit

Permalink
No peeking
Browse files Browse the repository at this point in the history
  • Loading branch information
kg583 committed Jun 15, 2024
1 parent d6cc801 commit 68a2b35
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -777,6 +777,11 @@ <h4 id="yesterday-or-random" class="answers">Yesterday's answers</h4>
var puzzle = allpuzzles.at(seed % 131071 % numpuzzles)
var start = Math.floor(seed / numpuzzles) % 7;

if (date.getFullYear() == 2024 && date.getMonth() == 5 && date.getDate() == 16) {
puzzle = "fathsre";
start = 1;
}

return puzzle.slice(start) + puzzle.slice(0, start);
}

Expand Down

0 comments on commit 68a2b35

Please sign in to comment.