I’ve implemented a simple version of ‘Mosaic’ puzzles in Zig / Sokol.

Motivation: I’d heard a lot of good things about Andre Weissflog’s Sokol libraries, and wanted to check them out. For me, the best way to learn the basics of a library is to make something from scratch in it. And so, as an exercise / test case, I made a small puzzle game from scratch in Zig / Sokol.
Post-project thoughts: Sokol (and its Zig-bindings) lives up to the hype. While I’ve barely touched the surface of the library, for my use cases / programming style, I can see myself using it years into the future. While there’s a place in my heart for Raylib, I’ll be using Sokol over Raylib from now on.
People outside of the systems-language programming community don’t even know what a huge deal it is that, on my Linux machine, I can run zig build -Dtarget=x86_64-windows, copy the .exe to my PC and have the game just run!
AI Non-usage notice: At NO stage whatsover during the development of this project were any LLMs used. All of the code was either written by me or by Weissflog. (The project begun by adapting Weissflog’s triangle.zig file in sokol/examples; nearly all of the code in the Sokol libraries was authored by Weissflog.)
We have all seen embarrassing examples of half-assed “projects” made with LLMs posted to this forum. This needs to stop. Expecting other people to spend their time reading, let alone thinking about, output generated by LLMs is highly offensive.