News for hackers. Stuff that matters.
Re:Show HN: We rebuilt Flood-It in Bun/vanilla JavaScript, a... by ekremkrc on Monday February 16, 2026 @04:26AM (#47032832)

  Tech stack and structure:

  - Bun server (Bun.serve) + vanilla JS frontend
  - Core game logic in src/engine/game.js
  - Move/round flow in src/engine/gameFlow.js
  - Action orchestration in src/actions/gameActions.js
  - Stateless view renderers in src/views/*
  - Tests with bun test

  A few details we focused on:

  - Mobile + desktop board fitting
  - Help/Rules screen
  - Confirmed reset/new/quit actions
  - Persisted dark mode
  - Accessibility via keyboard shortcuts

There are no comments on this comment yet.