u/DCCXXV

▲ 45 r/ocaml

I don't really use any fancy functional programming features though, mostly love the pattern matching. I used SDL2 via tsdl bindings and it was really fun to make :^)

It's a Lights Out style puzzle game with 17 levels of varying difficulty, the objective is to turn every tile dark in as few moves as possible, using different shapes that toggle the tiles they cover. You can build it from github: https://github.com/DCCXXV/dolm

and I also published it on flathub: https://flathub.org/en/apps/io.github.DCCXXV.dolm

I'll keep learning ocaml so I can make more complex things, I also really like just how much you can do in a few lines, the entire game is around 400 LOC (not counting the levels file) while being pretty easy to understand.

u/DCCXXV — 19 days ago