Hashi

A new hashiwokakero bridge puzzle every day, full stack in Gleam

Image 1 of 1: The puzzle for 2026-11-14: numbered islands on a grid, with undo, redo and a timer

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.

Reviews

Loading reviews

    More in Gleam

    • trellisA workspace CLI for Gleam monorepos, configured from gleam.toml alone
    • SomachordA self-hosted Subsonic music client in Gleam that keeps playing offline

    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