Hacker News new | ask | show | jobs
by naet 972 days ago
Thanks a lot! I think the current setup generates the level based on a hash of the date, so you should get a new level at your local midnight hour based on your browser's reported timezone. There might be some small issues around daylight savings times or leap seconds since it was pretty quickly hacked together.

You can play the game completely offline as a PWA and still get a new level every day (and you can in theory also play an infinite number of past and future games if you just change the url params). It was inspired by the pre-NYT Wordle where the game was always playable offline and you still get the same game as everyone else that day, but instead of using a fixed number of possible words/games, it makes levels with a seeded PRNG using the date.

If I find the time to work on it again I'll add the level editor so people can share custom levels, and a backend so you could sign in and share your levels or daily scores. But with my growing family I'm too busy for the foreseeable future, so it may remain as just the proof of concept that it is right now.