News for hackers. Stuff that matters.

ekremkrc

  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

Show HN: We rebuilt Flood-It in Bun/vanilla JavaScript, and added a Maze mode

We rebuilt FloodIt, an open-source browser puzzle game inspired by Flood-It[0]. It includes: - Classic mode (fill the board with one color) - Maze mode (flood through corridors to reach the goal tile) - Presets + custom game setup Live demo: https://floodit-js.vercel.app Source code: https://github.com/ekremkaraca/floodit-js We started it as a React.js implementation[1]...

( Read More... | 1 comment | on HN )