Lurker News
Hello, HN - I wanted to share this puzzle game I made during my vacation.

I'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 comments
technothrasher2 replies#
I liked it, but I've got a funny thing about being timed. It stresses me out and makes a game that should be relaxing completely unenjoyable. I've heard others say the same to me often, so I know I'm not alone. Although there are clearly plenty of other folks who do like the added pressure of a timer. If you had a mode that completely turned off any times, I'd actually keep playing.
teolandon1 reply#
It's not like the timer is counting down and the game ends when the timer runs out. The timer is going up. There's no pressure, you can ignore it (or even write a script that hides it client side).
technothrasher1 reply#
> you can ignore it

No 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.

effingwewt2 replies#
Oh come tf on, you can quite easily just view source and hide the timer, GP even was nice enough to make his code nice and tidy with easy to recognize names. Just ctrl-f timer.

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

gereleth#
Thanks for the feedback. I already promised to add timer hiding option in another comment thread, will do on the weekend.
furyofantares1 reply#
Very cool! I suggest adding a daily puzzle with a share result (day number and how long it took to solve) like all the games in the wordleverse do. My spouse and I would enjoy doing one daily and sending our results to each other.
gereleth1 reply#
Good idea! I'm already thinking of how to implement... I really need another vacation or two, lol
msoucy3 replies#
Me: "Oh I'm pretty good at Net, this should be easy" Two hours later I finally finish the 40x40.

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.

matsemann1 reply#
Yeah, it was quite different. Half the strategies for grid-net doesn't work, and my pattern matching is off.

Same for Loopy/Slitherlink. It's the same game, but changing shapes vastly changes the game. Very fascinating and refreshing.

gereleth1 reply#
I remember being pretty mad at how a straight piece isn't immediately solved after you fix one wall. Like how can it still have wiggle room?! =))

All general principles still apply though, so experience with Net certainly helps here.

matsemann#
Exactly the same I was thinking off! Normally a straight piece will propagate and lock all other straight pieces either into it or parallel with it. But yeah, still gain some information, while the neighbor straight isn't locked at all times, it's at least constrained. So very cool to play the same game I already like, but with some new twists. :)

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.

gereleth1 reply#
Wow, did you really start with a 40x40? I only solved like two of them ever. It's pretty time consuming).

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.

msoucy#
I did a couple of 5x5 to warm up and learn the strategies, but then went off the deep end. The middle was rough, but the ending part got me into the same meditative state that regular Net does, so I'd call that a win!
twaldecker#
Also did a 40x40 in two and a half hour
tromp#
After playing for a bit, I started to wish for a way to mark cells as done. Then I soon realized it was already implemented, as a right click. Unfortunately, right clicking on my Apple Magic Mouse is notoriously unreliable, so instead I developed an interesting new approach to solving.

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...

Load more comments