Skip to content

Mabi19/static-htmx-connect-4

Repository files navigation

Static HTMX Connect 4

Play it here. You'll need a browser that supports :has.

This is an implementation of Connect 4, made with HTMX and a lot of CSS. HTMX isn't powerful enough to drive the game logic without a backend server (which is a good thing normally), so it's mostly just used to insert new tokens into the game board.

I also made a blog post that explains how it works.