Inspiration

The idea was chosen by the author from nine candidates that another AI (OpenAI Codex) generated from the public hackathon brief.

What it does

SeatReach checks whether every seat in a small table layout can be reached from the entrance at the aisle width you set.

  • It opens on a "Community hall" preset: 6 tables, 36 seats, a 12 m x 8 m room, one entrance.
  • A width slider (60 to 120 cm, default 90 cm, for example a wheelchair) recomputes live.
  • Reachable floor is shaded teal. Blocked seats are orange with an icon.
  • One pinch marker names the tightest gap, such as "70 cm gap - needs 90 cm".
  • The summary reads "N of M seats reachable at W cm".
  • Drag, rotate, add or delete tables (10 cm snap). Pick a seat to see its route from the entrance.
  • Download the plan as a PNG or copy the layout as JSON.

In the preset, at 90 cm three seats are blocked by a 70 cm gap, and moving one table 30 cm left reconnects all 36. It is a planning aid on a simplified plan. It does not certify accessibility or fire-code compliance.

How we built it

The author is a Japanese speaker and not a software engineer. In Claude Code, the Devpost Learn Skill Pack's 1-start skill was run in the project folder, and scope.md, prd.md and spec.md were drafted from the Skill Pack's templates. The code was then written by OpenAI Codex, running on the author's own small home computer, from the spec. The app is a static page: HTML, CSS and plain JavaScript, with no build step, no external libraries and no network calls. core.js holds the calculator (a 10 cm grid, a distance transform for clearance, a flood fill from the entrance, and a widest-path search to name the pinch point). app.js draws on a canvas. tests.html runs 28 browser assertions on the calculator (all pass). It is hosted on GitHub Pages and licensed MIT.

Challenges we ran into

Because of the deadline, the author asked the assistant to answer the product questions provisionally; those answers are marked [AI-provisional] in the documents and await the author's confirmation.

Accomplishments that we're proud of

The app runs fully in the browser with no libraries and was checked in a browser with the included tests.html before the demo was recorded.

What we learned

Not written yet: the author has not recorded a learning reflection at submission time.

What's next

  • Several entrances and door widths.
  • Importing a JSON layout back into the page.
  • Suggesting the best single move automatically.
  • More table shapes.

Built With

Share this project:

Updates

Submission history