Hi there!
Zakuchess is yet another “daily chess challenge” - a side project I’ve been working for a while, motivated by 2 main aspects:
- I’ve wanted to play chess with pixel art units - rather than pieces - for years. I’m not an illustrator myself, but thankfully the open source game Battle For Wesnoth has some lovely sprites I could use
- On the technical side of things, I wanted to see how far I could go with htmx in terms of user interface reactivity.
The answer to the 2nd point is: pretty far!
Htmx is definitely a very nice way to build a rich interface powered by server-side-rendered HTML!
Having a roundtrip to the server for every interaction with the user interface sure has a cost, but it’s just a matter of a few dozens of milliseconds if the user is close enough to the server.
And Tailwind CSS is also a great way to get a good Locality Of Behaviour.
The game is not 100% finished yet, but is now mature enough to be played.
- The game itself lives at the following URL: https://zakuchess.com/
- The code is there: https://github.com/olivierphi/zakuchess
The game is hosted by Fly.io, and hasn’t cost me aything so far since they don’t bill invoices smaller than $5. The underlying database is SQLite.
Any feedback - or even contribution, whether it’s code, design, or new chess challenges - is appreciated