A daily puzzle site for hashiwokakero, the islands-and-bridges logic puzzle, with an interactive tutorial, undo, redo and a timer: a Gleam backend on Erlang generates and serves each day's puzzle, and a Lustre frontend compiled to JavaScript shares the generator code.
Trade-offs
- The day's date, as the number YYYYMMDD, seeds the generator, so every day gets a unique puzzle and the same date always gives the same one.
- Generation options are written to a file per day: a restart rebuilds the identical puzzle, and a hand-edited file can raise the difficulty on special days.
- The puzzle page is prerendered once a day and served from a cache, so requests never wait on generation.
Q&A4
It ramps up towards the weekend: Monday is an 8 by 8 grid with 22 islands and few double bridges, Saturday a 10 by 10 grid with 30 islands and half of the bridges doubled.
A supervised actor generates the day's puzzle, then sleeps until the fixed time of the next day and wakes to do it again.
Three Gleam packages: a backend that targets Erlang, a frontend that targets JavaScript, and shared puzzle logic that both compile.
No. LLMs are kept out of the code, and issues and pull requests written with them are not wanted.
Links
Built by
Reviews
Loading reviews
More in Gleam
More in Game dev
See all 22 →
Rigby2DOpen-source 2D skeletal animation editor for games and film- Raising HellA Tamagotchi-style virtual pet game for the M5Stack Cardputer ADV
WhimTexA sprite and texture editor inside Unity, with layers that stay editable
GodotMakerAgent workflow that turns a game idea into a tested Godot project
CSG_BlockoutLevel blockout in Godot with native CSG nodes, from drawn rooms to playtest
SculptForgeOpen-source digital sculpting app for Linux, macOS and Windows