Show HN: I made a little math game named Summle (summle.net)
I made this game for my children to play, as they are heavily into Wordle, and I thought they'd also like something maths based!
Every puzzle is solvable and has at least one solution (usually more).
There is a kids mode in the settings, plus a hard mode for extra difficulty.
81 comments
[ 5.0 ms ] story [ 140 ms ] threadYou can burn yourself early by doing an incorrect equation, and the only way to finish is to reset by refreshing the page.
So it is more of a learning game then a competitive/iterative game.
You could do it all in your head (or in another program/on paper) to do it the best way on your first try, but you can't fix mistakes once trying something teaches you something.
I like it. Some UX tweaks would be nice, maybe an undo, a clear all, and perhaps some helpful focus shifting (of which tile is being intended for a click) depending on context.
Mathematician here. It's fun, but it's quite hard! How old are your children?
[spoiler alert?]
I finally solved it in 4 steps. It needs a lot of backtracking planning. I has to guess which will be the last expression and try to reach the numbers that it used.
I don't play too much Wordle, but my approach was just trying to find a word that is not to stupid (like reusing a lot of letters that are already grey) and just hopping that that the new info will make the next step easier.
I ended up creating a mental factorization table of the target number with only the available numbers as factors. That pretty "quickly" lead to a solution in only three steps.
I put the "quickly" in scare quotes because I essentially brute forced the problem.
But yes, I factored the result in my head. I would have done the same with (result ± any of the other numbers), if necessary.
Also, for the simple one, I immediately recognized 243 as a power of 3, so maybe, I’m not in the target group ;-)
Or that there were multiple solutions.
In the end, I did all the steps in my head, and then refreshed the page to do it in 3 steps.
But it's not really an "iterative" game.
It's a good, educational game that makes you think. It just feels very different from something like Wordle, and that's OK.
Now that I got the hang of it, I tried the easy and hard modes as well, and got them both on the first try without having to undo anything.
But as others said, I looked at the available numbers, figured out what I had to multiply to get close, what I'd have to add/subtract to get the rest of the way, and how I'd use the leftover numbers there to make the addition/subtraction possible.
Basically I brute-forced it in my head. But I think it would be enjoyable if it somehow felt more iterative, and less like I was working from the solution backwards, and then just filling the steps in all at once.
https://github.com/teni/sumgame
You have +,-, * ,/. But no ^. Why ?
I used to ask a^b * c^d=abcd as an interview question. In most programming languages its a 4-line nested loop to find the unique solution.
I am only recording successful attempts, which for the regular puzzle is around 33% so far today. I might compile stats on solve time too.
Light spoiler: gurer vf n fbyhgvba juvpu qbrf abg hfr bar uhaqerq
For the hard one, 612 is not an easy number to find, but basic math shows that 6+1+2=9 so the number is divisible by 3 (and I won't go any farther to prevent spoiling it) Finding a system by which you create the situations that allow the operands and factors to be discovered while also flexing your basic math skills is the fun of the game.
You can't just randomly put in a combination and then use it or get info.. you really need to plan the whole thing out before doing anything.
2) It does not appear to remember your game if you close the browser and return as wordle does. The solution you entered is then hidden. https://imgur.com/a/IEFRFnT
it would be nice to be able to get back to this screen once you've completed it even if you close the browser https://imgur.com/a/DDkF7On
The reset upon completion is intentional, as there is (usually) more than one solution to be found. For the purposes of stats recording, only the first successful attempt is registered.
Edit: And another 6 minutes for the 'hard' version (4 steps).