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 :)
Fix the integer overflow issue. Now your share link will only the first puzzle, the other two puzzles are invalid thus won't be shown any more. If you don't see any changes, you may need to refresh the browser to see the latest version.
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.
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.
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.
Thanks for trying this out. I'll fix the off-screen issue later.
I created this game because of an old news my wife shared with me, it was about The New York Times bought the Wordle game. I was then surprised that such a simple, old-style game caught the attention of a big company. I said "I'd rather play a matchstick puzzle", and it was that moment that inspired me to create a free online version with all the puzzles procedurally generated by my own hand-made solver (I like the sound of this :D). Personally, I like moving one and only one matchstick to solve a puzzle rather than 2 or 3 sticks, also I don't like those tricky solutions like negative number, rotation trick and etc. although they could be a very creative solution and let you think outside the box sometimes, IMO, it is just not elegant and sometime distracting to encourage people to think in a systematic way.
Fix the off-screen issue. Now the previous stuck stick will be reset to the original place on your next drag. Thanks for pointing this out. And you probably need to refresh the browser to see the new update
17 comments
[ 5.2 ms ] story [ 38.8 ms ] threadSame 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.
Also, submit it to https://hnarcade.com :)
Edit: mostly directed at OP, the puzzle maker claimed something like 12 identical solutions for the same puzzle
I personally found this 'learn-by-doing' approach really helps me understand the patterns before I tackle the harder levels.
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
I created this game because of an old news my wife shared with me, it was about The New York Times bought the Wordle game. I was then surprised that such a simple, old-style game caught the attention of a big company. I said "I'd rather play a matchstick puzzle", and it was that moment that inspired me to create a free online version with all the puzzles procedurally generated by my own hand-made solver (I like the sound of this :D). Personally, I like moving one and only one matchstick to solve a puzzle rather than 2 or 3 sticks, also I don't like those tricky solutions like negative number, rotation trick and etc. although they could be a very creative solution and let you think outside the box sometimes, IMO, it is just not elegant and sometime distracting to encourage people to think in a systematic way.