Developer builds serverless daily logic puzzle using deterministic seed-based generation
A developer created Solsticio, a daily sun/moon logic puzzle that operates without any backend infrastructure. The puzzle uses a deterministic generator that derives a seed from the current date, ensuring every platform — website, mobile app, and video pipeline — produces the same board independently. Each candidate board passes two additional checks: a deductive uniqueness solver and an aesthetics filter to ensure puzzles are both fair and visually clean. The system is implemented twice, in JavaScript and Dart, with cross-platform tests to prevent output drift between the two versions. The website, built on Astro and hosted on Cloudflare Pages, rebuilds daily via CI, while a Flutter app computes the puzzle locally, enabling full offline play.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in