I rewrote MathDoku as a PWA

I just got a new phone, and realized that the only game I occasionally play, MathDoku, won't run anymore!

This was unacceptable, so I wrote my own: https://magnusm.uber.space/mathdoku/

Github: https://github.com/magnusmanske/mathdoku (GPL, feel free to run it on your own server if you prefer)

This is a "progressive webapp", you can play it in the browser, or install it like a "proper" app on your mobile (Chrome/Android trhee-button-menu, "Install app"; other borwsers/platforms, please let me know!). It will keep your game stored even during reboots.

Issues and merge requests welcome!

69 points · 5 comments · view on lemmy.world

5 Comments

plactagonic@sopuli.xyz · 12 pts · 2y (1 reply)

Simon Tatham's Puzzles

F Droid app that is regularly updated. It has 40 puzzles with weird names this one is named Keen.

ChaoticNeutralCzech@feddit.de · 3 pts · 2y

Seconded this. Very small too, at about 10 MiB, or 250 kiB per game, which is tough to beat! The Android port is probably the best but a Linux and Windows version also exist. Get it on F-Droid

There is also Gauguin, a similarly small app but with only 1 puzzle type, this one. There are more options though, including more operation combos, negative and non-consecutive numbers, and even rectangular grids! The controls are a little worse if you ask me and so is the performance but not by a lot. I have spent huge amounts of time playing the game in both apps and I slightly prefer this one thanks to more variation.

opgjoh@feddit.de · 6 pts · 2y

This is very cool! Coming from a beginner, it might make the first few games easier if you added an extra setting that would start the puzzle with one or two numbers already filled in (like a typical sudoku), as that gives a natural starting point. Obviously, it may not be needed if you mainly develop this for yourself :)

I believe in the Puzzle I attempted, the solution was not unique: at the end, two numbers could be placed interchangeably (in my case, I could switch around all "1"s and "4"s and end up with just as valid a solution - that is, of course, unless I missed something :)

Very cool little puzzle, thank you for sharing!

ElectricTrombone@lemmy.world · 1 pts · 2y

I would kill to just have a simple app to play dominoes on my phone with no ads and no BS. I almost found one. It didn't have ads between games, but it did have a stupid micro transaction scheme or online play or something. Grumble. Grumble.

This might just drive me to start developing apps. I can probably do the basic stuff but I don't know where to begin programming the cpu opponent...

MajorHavoc@programming.dev · 1 pts · 2y

This is fantastic. Well done!