Remix.run Logo
Show HN: Stop playing my matchstick puzzles, start building your own in seconds(mathstick.github.io)
17 points by trangram 7 hours ago | 17 comments
trangram 7 hours ago | parent | next [-]

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.

cyanmagenta 16 minutes ago | parent [-]

The answer to all of these should be moving a stick over the equality sign to change it to an inequality sign.

trangram 12 minutes ago | parent [-]

This is too tricky to be allowed. Let's play a fair game :D

a_t48 4 hours ago | parent | prev | next [-]

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 4 hours ago | parent [-]

Yeah, you did! It's integer overflow, good catch!

oleggromov an hour ago | parent | prev | next [-]

Nice one. I spent about 15 minutes playing, thank you.

trangram an hour ago | parent [-]

Glad you enjoy it!

trangram 3 hours ago | parent | prev | next [-]

Highly recommend y'all try playing with the Puzzle Maker first! It’s a great way to get a feel for the shape of numbers and the different moves you can make.

I personally found this 'learn-by-doing' approach really helps me understand the patterns before I tackle the harder levels.

yuppiepuppie 5 hours ago | parent | prev | next [-]

Nice! What did you build this with?

Also, submit it to https://hnarcade.com :)

trangram 4 hours ago | parent [-]

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!

ncruces 4 hours ago | parent | prev | next [-]

Would you be willing to add a manifest so this can be "installed" as an app on Android?

trangram 4 hours ago | parent [-]

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 3 hours ago | parent [-]

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 3 hours ago | parent [-]

Thanks, I used to do something like that when I made a tabletop like card maker using three.js + angular 8, but it has been a long time ago, I need to catch up with the details how to implement it with angular v21 since it is almost a completely new framework compared to the old versions

dvh 4 hours ago | parent | prev [-]

Typo: invetory

trangram 4 hours ago | parent | next [-]

may I know which page it is?

trangram 4 hours ago | parent | prev [-]

good eye~ thanks