Show HN: Stop playing my matchstick puzzles, start building your own in seconds (mathstick.github.io)
14 points by trangram 5 hours ago
trangram 5 hours ago
Mathstick 2 is now ready!
Same as my first version, you can earn sticks to unlock the next level and the challenges get harder as you progress. With the newly added Puzzled Maker, you can now create your own matchstick puzzles and generate a shareable link to stump your friends :)
For example, check out this custom challenge I just created: https://mathstick.github.io/play?q=ktoylsjcnmylbetuinmylielj...
Feel free to share your puzzles below and feedback is welcome.
a_t48 3 hours ago
I think I broke it a little, playing around with INT64_MAX - https://mathstick.github.io/play?q=hrojihaacciabcmtskiistbij...
Edit: mostly directed at OP, the puzzle maker claimed something like 12 identical solutions for the same puzzle
trangram 3 hours ago
Yeah, you did! It's integer overflow, good catch!
oleggromov 21 minutes ago
Nice one. I spent about 15 minutes playing, thank you.
ncruces 3 hours ago
Would you be willing to add a manifest so this can be "installed" as an app on Android?
trangram 2 hours ago
sure i'll consider converting it to PWA if people prefer playing the main game than creating and sharing puzzles with the Puzzle Maker.
ncruces 2 hours ago
I think you can just pretend to be a PWA, no need for code changes.
You may need an unused service worker, or not, I don't remember.
This just means your site looks like an Android app (but still needs net, etc).
trangram 2 hours ago
yuppiepuppie 3 hours ago
Nice! What did you build this with?
Also, submit it to https://hnarcade.com :)
trangram 3 hours ago
js+css, angular only for fancy pop menu and dropdown list, no angular material though, as as to keep it simple and lightweight.
sure, will have a look. thanks!
dvh 3 hours ago
Typo: invetory
trangram 3 hours ago
may I know which page it is?
trangram 3 hours ago
good eye~ thanks
trangram 2 hours ago
[dead]