[HN Gopher] Show HN: A difficult game to test your logic
       ___________________________________________________________________
        
       Show HN: A difficult game to test your logic
        
       Author : CodeCrusader
       Score  : 77 points
       Date   : 2025-03-24 13:47 UTC (3 days ago)
        
 (HTM) web link (rvlabs.ca)
 (TXT) w3m dump (rvlabs.ca)
        
       | gus_massa wrote:
       | I don't see any frog.
        
         | CodeCrusader wrote:
         | My bad, I messed up with WebP images optimization, should be
         | working now, thanks for letting me know!
        
           | gus_massa wrote:
           | It's fixed now. Nice twist at the 4th level.
        
       | KPGv2 wrote:
       | Really fun game. I was happy when I thought I screwed up the
       | final level only to realize my screwup was the solution.
        
         | CodeCrusader wrote:
         | Glad you enjoyed the mind-bend
        
       | Y_Y wrote:
       | Fun, but only lasts about two minutes. Could be interesting in 2d
       | or with some other gimmicks added.
        
         | freehorse wrote:
         | I think it lasting 2 minutes is actually an asset. Even though
         | a 2d version etc would be quite interesting, it is great to try
         | such little nice things and then move on to one's day, not
         | everything in the internet has to take that long. And unless
         | one wants to show ads or sth, there is no incentive to actually
         | make it longer anyway.
        
         | sse wrote:
         | In 2D, it would become sokoban, wouldn't it?
        
           | thaumasiotes wrote:
           | No? Sokoban involves a single agent pushing blocks around a
           | grid. No block can ever move without being pushed, and
           | nothing can ever cross anything else.
           | 
           | In this puzzle, the only way for anything to move is
           | independently, and everything is free to cross anything else.
        
         | singleshot_ wrote:
         | If this was two dimensional, it would be the game Hi-Q, more or
         | less.
        
           | thaumasiotes wrote:
           | Solitaire removes the pegs that are jumped over. If this was
           | two-dimensional, it would be Chinese Checkers.
        
       | jcjmcclean wrote:
       | Really enjoyed that! I was surprised by how fun it was
       | considering how simple it seems. Definitely would love it to last
       | longer.
        
         | CodeCrusader wrote:
         | Thanks! Might play with more levels if people keep enjoying it.
        
       | kazinator wrote:
       | Not being able to repeat a successfully solved level sucks.
       | 
       | It would benefit from that model that is popular nowadays whereby
       | higher levels are unlocked by solving lower levels, and you can
       | choose to play any unlocked level whatsoever.
        
       | camcil wrote:
       | Claude Sonnet 3.7 has a hell of a time with this.
        
         | Jtsummers wrote:
         | How so? This is an old puzzle with lots of versions online, I'm
         | surprised it'd be struggling with it (except for the twist that
         | I'll leave out for one of the levels).
        
           | parliament32 wrote:
           | Why does it surprise you that a text generator isn't
           | competent at spatial reasoning?
        
             | Jtsummers wrote:
             | It depends on how it's explained. The puzzle, depending on
             | phrasing, is not too dissimilar from other movement puzzles
             | like river crossing puzzles. What I'm curious about is how
             | it was explained to the LLM and how an answer was expected
             | in response. You can probably even find text descriptions
             | of solutions online so if you use the right keywords it
             | would likely give a correct solution even if your puzzle
             | description was wonky.
        
         | CodeCrusader wrote:
         | Hah! Makes me feel better about struggling with level 3.
        
       | H3X_K1TT3N wrote:
       | I clicked the frogs, but nothing happened. Am I doing it wrong or
       | is it broken?
        
         | H3X_K1TT3N wrote:
         | wait, I reopened the link in a new tab and it's suddenly
         | working; not sure what's up with that.
        
           | H3X_K1TT3N wrote:
           | welp, that was short, but neat
        
             | CodeCrusader wrote:
             | Short and sweet was the goal. Cheers for giving it a go.
        
       | AndrewStephens wrote:
       | Very cool implementation of a classic puzzle (with a surprise on
       | the last level that I haven't seen before.)
       | 
       | Years ago I wrote some example Python to solve the same puzzle in
       | another game (with spoilers for level 3):
       | 
       | https://sheep.horse/2011/11/jumping_frogs_-_using_python_to_...
        
         | CodeCrusader wrote:
         | Glad you liked it! That last level twist was a fun addition --
         | I wanted to keep things interesting. Your Python solver looks
         | awesome, I'll definitely check it out. Always cool to see
         | different approaches to the same puzzle!
        
       | dez11de wrote:
       | Stuck on level 8. Any pointers?
        
         | themjt wrote:
         | You had me for a second there lol
        
       | kater006 wrote:
       | Moar
        
       | vunderba wrote:
       | Nice implementation. I've seen this puzzle before, does anyone
       | know if it actually has an official name? Kind of reminds me of a
       | variation on the tower of Hanoi.
       | 
       | https://en.wikipedia.org/wiki/Tower_of_Hanoi
        
         | CodeCrusader wrote:
         | Thanks! I'm not sure if there's an official name for it -- I
         | originally saw the game a decade ago at my university and just
         | recently decided to build my own take on it. It definitely has
         | some Tower of Hanoi vibes. Let me know if you find an official
         | name for it!
        
       | gortok wrote:
       | As someone who is colorblind (Deuteranopia), the first level asks
       | to swap the green and brown frog. With the hues used, I can't
       | tell the difference between the two frogs.
        
         | Jtsummers wrote:
         | The frogs only move in the direction they face. Move them so
         | that all the frogs facing right are on the right, and facing
         | left are on the left.
        
           | CodeCrusader wrote:
           | Good call! The facing direction was meant to help, but I can
           | see how the colors could still be tricky. I'll look into
           | making it clearer -- appreciate the feedback!
        
       | lozzo wrote:
       | I am so pleased I stumbled on this little game by chance. Really
       | lovely. Well done. Keep it up
        
         | CodeCrusader wrote:
         | Thanks! Really made my day to hear you found it by chance and
         | enjoyed it.
        
       | stanac wrote:
       | Really fun. Third level was harder than fourth.
        
         | CodeCrusader wrote:
         | Ha, you're not the first to say that about level 3! I think I
         | accidentally made the difficulty curve a bit wonky there. Glad
         | you had fun with it!
        
       | dgellow wrote:
       | That was a very cute puzzle, well done
        
         | CodeCrusader wrote:
         | Glad you found it cute. Was aiming for that mix of simple looks
         | but tricky solution.
        
       | CodeCrusader wrote:
       | Hey everyone, I'm the author--really appreciate all the feedback
       | here. If you want to follow along with what I'm working on, I'm
       | over on Twitter: https://x.com/rv_labs. Thanks again!
        
         | 0cf8612b2e1e wrote:
         | Well, I burst out laughing when I jumped on the transformer
         | lily pad. I assumed there was a trick, but not that.
         | 
         | Quite cute diversion.
        
       | fractallyte wrote:
       | In some UK schools, this was the basis for a mathematics
       | investigation for 11 year olds. Do the task for various numbers
       | of frogs, records the results, and try to find a rule - then make
       | a prediction for a certain number, and test it!
       | 
       | A great introduction to the Scientific Method, and a fun activity
       | too.
       | 
       | Here's an example: https://spiremaths.co.uk/wp-
       | content/uploads/Frogs.pdf
        
         | CodeCrusader wrote:
         | Oh that's cool - I had no idea it was used in UK schools,
         | thanks for sharing this!
        
       | Fredkin wrote:
       | I get SSL_ERROR_RX_RECORD_TOO_LONG when trying to visit this
       | site.
        
       ___________________________________________________________________
       (page generated 2025-03-27 23:01 UTC)