Show HN: Pipes puzzle (a.k.a. Net) on a hexagonal grid (opens in a new tab)hexapipes.vercel.app
537 pointsI'm rather fond of the pipes puzzle where your goal is to restore a scrambled network of connections by rotating tiles. It's usually played on a grid of squares and this all started when I decided to make a programmatic solver for that kind of puzzle. Then I realized that with some minor changes the solver could generate new puzzle instances. I thought about what kind of puzzle to make and someone suggested a hexagonal grid. Adapting the generator wasn't too hard but then I had to create a way to play this variant. So I did just that =).
I find hexagonal pipes a bit more difficult than the square variant because there's a larger variety of possible tile shapes. For an extra challenge I implemented wrap mode where the board can connect to itself (right to left and top to bottom), so there are no convenient outer walls to start from.
The site is made with Svelte Kit, its code is available on github at <https://github.com/gereleth/hexapipes>.
Hope you enjoy playing =).

Comments (161) 65 threads
Earlier commentsNo can do. Psychology is a funny thing.
> or even write a script that hides it client side
Sure, or just update the code and host it myself. I was just making a casual comment, which the author is free to casually ignore.
It's not like you are having to rewrite his game.
Your edge-case psychological issue should be worth GP rewriting his game, when you couldn't be bothered to change some CSS in two seconds.
Continue this thread — 2 replies
Full disclosure: I’m CTO at Rune, but I genuinely think it might be fun and easy for you to do. Here’s a similar popular game on Rune: https://app.rune.ai/untangle-H-vghwxUfO
Thank you and I hate you. I've infected my friends with this.
Also, since we're bragging about scores: 39s for the 5x5 wrapping, but I'll definitely be coming back to this.
Same for Loopy/Slitherlink. It's the same game, but changing shapes vastly changes the game. Very fascinating and refreshing.
All general principles still apply though, so experience with Net certainly helps here.
Edit: I like how I can mark known edges. So many digital puzzle games make it hard to mark the same stuff I would on a paper.
And good time on the wrap! Small wrap boards can actually be harder than larger ones because there's less chance of finding some seed tiles to start from.
I force myself to fix each cell as I scan the board from top to bottom, left to right. I thus have to visualize how my choices unfold downward, in search of clues, or ideally proofs, for how best to proceed. This manner of play reminds me a bit of the "reading" one does in the game of Go to explore variations before placing one's stone.
I hope other people find this more constrained version of interest as well...
All comments shown.
Couldn't load more comments. Check your connection and try again.