Show HN: Stop playing my matchstick puzzles, start building your own in seconds

trangram 34 points 28 comments May 02, 2026
mathstick.github.io · View on Hacker News

Discussion Highlights (10 comments)

trangram

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.

yuppiepuppie

Nice! What did you build this with? Also, submit it to https://hnarcade.com :)

a_t48

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

dvh

Typo: invetory

ncruces

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

trangram

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.

oleggromov

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

eager_learner

nice game! may i know what amount of js/css knowledge should i possess to be able to write sth like this? Eloquent JavaScript + any generic CSS book enough? thanks for making my evening.

vunderba

Nice job. I'd seen similar things in the past but I had no idea this was an actual type of puzzle. Your game has a bug which is relatively common in drag-and-drop games. If the viewport is smaller and I drag a match off-screen by accident, it can get stuck to the edge. Then it can become detached in such a way that makes it impossible to recover the match. https://en.wikipedia.org/wiki/Matchstick_puzzle

mvitorino

This is very addictive! Love it.

Semantic search powered by Rivestack pgvector
8,303 stories · 78,303 chunks indexed